You certainly can used XML from the server-side, although it will require a transform into a 2D Javascript array on the client-side. In this way, any XML format you want can be used, just use (write) a suitable small script to take the XML and convert it into a plain 2D array, which can then be used by DataTables core.
There is a plug-in page for this ( http://datatables.net/plug-ins/server-data-formats ) although only one format publicly available just now. It will give you an idea of how to go about it thought.
Thanks for that. Would a work-around be to return xml using standard jQuery, populate a hidden table, then is it possible to populate DataTables with the dynamically populated html table ? Would that work ?
Replies
There is a plug-in page for this ( http://datatables.net/plug-ins/server-data-formats ) although only one format publicly available just now. It will give you an idea of how to go about it thought.
Allan
If it just an XHTML table you are returning? A loop over each TR and then each TD would do the trick nicely.
Allan