fnDraw with addClass
fnDraw with addClass
Hello, I want to have table with read/unread rows. The server-side script provides a hidden column with read/unread status and I use this to add 'unread class to the needed rows. I mark rows as unread at the initialization with
[code]"fnInitComplete": function (oSettings, jason) {
for (i=0; i
[code]"fnInitComplete": function (oSettings, jason) {
for (i=0; i
This discussion has been closed.
Replies
Also, are you using server-side processing (please provide a test case or debug trace as noted in the forum rules) - if so, then fnDraw is async - your function will run before the new data has loaded.
Allan
I didn't manage to "switch" to fnGetNodes and fnGetData from object settigns though. I'm kind of couldn't figure out what to add the class to. if I do:
[code]
var nNodes = oTable.fnGetNodes();
for (i=0; i