$('#StudentTable').dataTable({
"aaSorting": [],
"bSorting": false,
"bProcessing": false,
"bPaginate": false,
"bFilter": false,
"bDestroy": false,
"bAutoWidth": true,
"sScrollY": "224px",
"aoColumns": [
{ "sTitle": "StudentId" },
{ "sTitle": "Name" },
{ "sTitle": "Address" },
{ "sTitle": "Mobileno" },
{ "sTitle": "Email" }
],
"aaData": Students
});
I am binding data to datatable dynamically...but problem is sorting not working properly.. it will sort Studentid 1 to 10 properly but if it is gretter then 10 it will come some studentid in top .you can see bellow output of sorting
