Hi there,
I've already got a fairly complex html table setup, that I update through ajax calls based on user interactions with buttons etc. I've used dataTables to enhance the table, but it doesn't seem to pickup updates to the data for sorting.
I'm initialising the table like this
I then want to be able to update the contents of table cells in the dom and have it use the new values for sorting. I've tried calling
Thanks.
I've already got a fairly complex html table setup, that I update through ajax calls based on user interactions with buttons etc. I've used dataTables to enhance the table, but it doesn't seem to pickup updates to the data for sorting.
I'm initialising the table like this
$("#studentListTable").dataTable({ "bJQueryUI": true, "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] } ] });
I then want to be able to update the contents of table cells in the dom and have it use the new values for sorting. I've tried calling
fnDraw()afterwards but that didn't make any difference. Are there any methods I can use for this or do I need to integrate the ajax calls with the data tables ajax api?
Thanks.