How to add custom icon/css dynamically in ng-smart-table
Midovsky opened this issue · 0 comments
Midovsky commented
Hello everyone,
In my ng-smart-table, I have an attribute called "active" which can be true or false.
I want to color the "power on/off " button in the custom actions depending on the active value.
If active == true : the power button is green
If active == false: the power button is red
Thanks in advance