Custom sorting and Ajax

Custom sorting and Ajax

bearbear Posts: 0Questions: 0Answers: 0
edited August 2013 in General
Hello everyone. I've recently converted my datatable to use Ajax. Before, when I was fully refreshing the page, my custom sorting functions, defined using jQuery.fn.dataTableExt.oSort and initalized with 'sType', were working fine. I am using Ajax with fnServerData. $.ajax for the actual call and fnReloadAjax are used to get the Ajax data. The Ajax data loading works just fine, and so does my custom fnHeaderCallback function. However, my custom sorting functions are not working.

Does anyone know why this might be. I found someone who had a similar problem in another thread:

http://www.datatables.net/forums/discussion/8730/cannot-custom-sort-with-ajax-data/p1

but it doesn't seem to have gotten anywhere. Does anyone know how I can force my datatable to use my custom sorting functions?
This discussion has been closed.