How to add class to cell from render function?
How to add class to cell from render function?

I have ajax data and I need to add specific class to cell depending on data for cell. How can I do this?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use the createdRow callback to check the cell's value and add the class as necessary.
Here is a simple example http://live.datatables.net/yinihiti/1/edit
Thanks a lot