How to add a class to server-side retrieved s?

How to add a class to server-side retrieved s?

heruanheruan Posts: 7Questions: 0Answers: 0
edited January 2012 in General
DataTables is great and it's efficiency is unbelievable!
I'm using it with jEditable to edit database records, where each row is an object and each cell is an attribute (obviously).
The PHP framework on the server-side puts the class 'editable' and other attributes on every which is editable by the current user (it's a per-attribute authorization) so the table has a sparse number of s with the 'editable' class and other custom attributes.
BTW when retrieving data from the server how can I tell DataTables when a specific has the 'editable' class or other attributes?

If it's not possible, can the server reply with the new element (or the entire ) making DataTable to replace the current one?

Thank you very much!
This discussion has been closed.