Initial live dom sorting issue
Initial live dom sorting issue
Hi,
I am using the live dom sorting plugin for input fields (http://www.datatables.net/examples/plug-ins/dom_sort.html), and it works fine except for initial sorting.
The datatable is initialized like this:
$('#datatableId']').dataTable( {
"aoColumns" : [ { "sSortDataType" :"dom-text"},
{ "bSortable" :false },
{ "bSortable" :false }
],
"aaSorting" : [[ 0, 'asc' ]]
});
I want the table initially to be sorted by the first column asc, which is an input field column. As i said, it works when clicked on the sort header, but it fails to sort initially.
Thanks
I am using the live dom sorting plugin for input fields (http://www.datatables.net/examples/plug-ins/dom_sort.html), and it works fine except for initial sorting.
The datatable is initialized like this:
$('#datatableId']').dataTable( {
"aoColumns" : [ { "sSortDataType" :"dom-text"},
{ "bSortable" :false },
{ "bSortable" :false }
],
"aaSorting" : [[ 0, 'asc' ]]
});
I want the table initially to be sorted by the first column asc, which is an input field column. As i said, it works when clicked on the sort header, but it fails to sort initially.
Thanks
This discussion has been closed.
Replies
Thanks
Allan