How to set classes to table row cells (but not to table header cells!)
How to set classes to table row cells (but not to table header cells!)
Hello,
i have a really nice style for my tables.
SEE: [ http://rockoweogrodki.radiowww.eu/tmp/Przechwytywanie1.PNG ]
I had to add sClass so that new rows (added by fnAddData) get the right classes.
Unfortunately that ruins my layout, becouse these classes are also added to my table-header cells!
SEE: [ http://rockoweogrodki.radiowww.eu/tmp/Przechwytywanie2.PNG ]
How can I configure sClass to apply only for TBODY cells?
i have a really nice style for my tables.
SEE: [ http://rockoweogrodki.radiowww.eu/tmp/Przechwytywanie1.PNG ]
I had to add sClass so that new rows (added by fnAddData) get the right classes.
Unfortunately that ruins my layout, becouse these classes are also added to my table-header cells!
SEE: [ http://rockoweogrodki.radiowww.eu/tmp/Przechwytywanie2.PNG ]
How can I configure sClass to apply only for TBODY cells?
This discussion has been closed.
Replies
useing fnRowCallback instead od sClass to set the correct classes to new rows