5

I am using PrimeNG datatable for my usage. Below is my code:

<p-dataTable [value]="alerts" [expandableRows]="true" [expandedRows]="expandedItems" #dt>
 <p-column expander="true"></p-column>
</p-dataTable>

How can I change the default icon for the row expander ?

Antikhippe
  • 6,316
  • 2
  • 28
  • 43
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156

1 Answers1

0

You can override your component CSS like that :

::ng-deep .fa-chevron-circle-right::before {
  content: "\f055";
  color: green;
}

::ng-deep .fa-chevron-circle-down::before {
  content: "\f056";
}

See StackBlitz

Antikhippe
  • 6,316
  • 2
  • 28
  • 43