fnSorting does not work
fnSorting does not work
I would like to configure client side sorting.
But I do not succeed in running fnSort.
I get data via ajax (static data for dev purpose), and I bind the fnSort to the th click event:
[code]
, "sAjaxSource": "data/data.txt"
, "fnHeaderCallback" : function(nHead, aData, iStart, iEnd, aiDisplay){
var ths = $(nHead).find('th');
for(i = 0; i
But I do not succeed in running fnSort.
I get data via ajax (static data for dev purpose), and I bind the fnSort to the th click event:
[code]
, "sAjaxSource": "data/data.txt"
, "fnHeaderCallback" : function(nHead, aData, iStart, iEnd, aiDisplay){
var ths = $(nHead).find('th');
for(i = 0; i
This discussion has been closed.
Replies
Allan
http://live.datatables.net/ativuf/8
Allan
Example: http://datatables.net/release-datatables/examples/ajax/ajax.html
Allan
I thought server-side processing was mandatory for AJAX sources. Now both sorting and filtering are working right.
Thanks a lot.