You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to put the properties
rows (?Array) - only list of the rows which should be displayed
className (string|Array) - additional CSS classes that should be added to a row
Here is how I added table row color. I added an [ngClass]="{ 'selected': config.method(row) }" to the tr tag of the table body in ng2-table source files. I then added a method to my config object in my component where I used the ng-table component. This method tested the column that contained the value I wanted to test and returned true when the specific value was there.
And bing, bang, boom, the table had colored rows when the correct value was in the column.
I want to change the color of the line when the column contains a specific value, how do make it
ex.:
Where Salary > 100.000 I want to put the green color to row
The text was updated successfully, but these errors were encountered: