conditional column classes
conditional column classes
Hi, how to add class name to columns <td> element based on conditional row value's. i.e for multiple row item status' i want to make the Status column show red/yellow/green background color. It's should be really easy but the documentation this side is a little sparse & please don't tell me to use "columnDefs"
This discussion has been closed.
            
Answers
You can use
columns.createdCellorcreateRow. If the data in the table can change then you will want to userowCallbackinstead.Kevin