Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add custom icon/css dynamically in ng-smart-table #1273

Open
Midovsky opened this issue May 18, 2021 · 0 comments
Open

How to add custom icon/css dynamically in ng-smart-table #1273

Midovsky opened this issue May 18, 2021 · 0 comments

Comments

@Midovsky
Copy link

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

smart table

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant