Change style of html tag inside cell via api
Change style of html tag inside cell via api
JohnBea
Posts: 11Questions: 2Answers: 1
Hi,
I'm using latest datatables. In one of the colums, in some rows, i've got html spans. This spans needs to have conditionally added css classes. I've tried to access data in column cell without success like this:
table.column(2).cell().data()
Please, does anyone know how to access html tags in colums cells, to change it's css class ?
This discussion has been closed.