Apply class name to certain TD elements

Apply class name to certain TD elements

braybray Posts: 1Questions: 0Answers: 0
edited May 2013 in General
Hello DT community. I have been pulling my hair out trying to come up with a solution to applying a class name to certain TD elements in the html table (server side if possible, although not necessary).

I'm looking for a solution similar to the DT_RowClass; however, I need something to the effect of DT_CellClass.

More specifically, I have my own server side processing script (PHP) that is pulling data from 2 different tables, comparing the data and outputting a single array to JSON. (I do not have the cell class piece working yet, so I can do the JSON output no problem; in other words, my "comparing" feature of the php script is NOT actually affecting the data at this point).

SO, I'm up for whatever will work.
In short, I'm just trying to assign a class name to certain TD elements.
My thought is that it would look like this:
[code]

some data
some data
This discussion has been closed.