Server-side processing modify returned aaData
Server-side processing modify returned aaData
Hello all,
It's my first time when I used dataTables, and it's a very nice tool. I'm dev an django project, and I have a problem. Before using dataTables, I used regular getJSON from jquery, and the object I was build myself. For each entry I send back a class name, and in this way, I have different colors, depending on what is in that entry(line). How can I attach to aaData, to each list, another parameter, that can be set like a class to my row?
It's my first time when I used dataTables, and it's a very nice tool. I'm dev an django project, and I have a problem. Before using dataTables, I used regular getJSON from jquery, and the object I was build myself. For each entry I send back a class name, and in this way, I have different colors, depending on what is in that entry(line). How can I attach to aaData, to each list, another parameter, that can be set like a class to my row?
This discussion has been closed.
Replies