I'm using datatables for displaying server-side data in tables.
I can't target and style individual cells (<TD>
) though. I search a bit and found it might be possible with:
"fnRowCallback": function( nRow, aData, iDisplayIndex ) {
....
}
... but I'm not quite sure how because I have a few table and not all have the same number of columns and rows. I want to give common class to all TDs
of a 'column'.