Setting cell class depending on data
Setting cell class depending on data
![mikeosoft](https://secure.gravatar.com/avatar/819fa1632eb77696f14b36459ed0089d/?default=https%3A%2F%2Fvanillicon.com%2F819fa1632eb77696f14b36459ed0089d_200.png&rating=g&size=120)
Hi,
I want to set initial class on each cells depending on a field in data.
My field is boolean so it's simple processing.
Is it possible?
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use
columns.createdCell
orcreatedRow
or `-option rowCallback1 depending on your exact needs.Kevin
Hi Kevin,
Thank you for your answer, I got it working!