Sort just after load
Sort just after load
Hi,
I have a table where the first column is set to be order automatically. The problem is that i want it to order just if i click at the column because the first loaded datas of dataTable is ordered by the database(order by).
Thanks.
I have a table where the first column is set to be order automatically. The problem is that i want it to order just if i click at the column because the first loaded datas of dataTable is ordered by the database(order by).
Thanks.
This discussion has been closed.
Replies
[code]
$(document).ready( function() {
$('#example').dataTable({
/* Disable initial sort */
"aaSorting": []
});
})
[/code]
http://stackoverflow.com/questions/4964388/is-there-a-way-to-disable-initial-sorting-for-jquery-datables
http://datatables.net/forums/discussion/677/x
Thank you.