How to change the Background-Color of a cell depending on its content (ssp)
How to change the Background-Color of a cell depending on its content (ssp)

Hi Guys,
since yesterday i am using Server Side Processing in my DataTable. It works very fine for me, but now i need to change the background-color of a cell depending on it´s content. For example the value is greater then 1,39 and lower then 2,00, the background-color of the cell has to be red.
Without Server Side Processing, i have made this with setting the style by PHP.
Thx for Help and sorry for my bad english.....
Greetz roum
This question has an accepted answers - jump to answer
Answers
Use the
columns.createdCell
option to add the required class to the cell.Allan
Thank you Allan! This worked for me very well!!!
:) Greetz roum