我正在使用PrimeNG数据表。以下是我的代码:
<p-dataTable [value]="alerts" [expandableRows]="true" [expandedRows]="expandedItems" #dt>
<p-column expander="true"></p-column>
</p-dataTable>
如何更改行扩展器的默认图标?
答案 0 :(得分:0)
您可以像这样覆盖组件CSS:
::ng-deep .fa-chevron-circle-right::before {
content: "\f055";
color: green;
}
::ng-deep .fa-chevron-circle-down::before {
content: "\f056";
}
请参阅StackBlitz