标签: styles row primeng primeng-treetable
我想有条件地改变PrimeNG TreeTable中行的样式。 我尝试了各种选项,例如:[rowStyleClass]="rowStyle()"
[rowStyleClass]="rowStyle()"
但是我收到了这个错误: Can't bind to 'rowStyleClass' since it isn't a known property of 'p-treeTable'
Can't bind to 'rowStyleClass' since it isn't a known property of 'p-treeTable'
有关如何有条件地更改行样式的任何想法?
答案 0 :(得分:0)
PrimeNG目前不支持此功能。但是已提交功能请求:https://github.com/primefaces/primeng/issues/2441。