Sheetal Garg

Sheetal Garg

  • NA
  • 151
  • 10.9k

Datatable Sorting Not Working.

Sep 26 2019 3:12 AM
I am using Jquery Datatable Plugin In my view page.Now i want to try to Sort My table column name i.e. roll no in ascending order...for that i used,
$("#blogTable").dataTable({
aaSorting: [[2, "asc"]]
});
but i am getting the output in the form of: 1,10,11,2,22,3,4,5,6
I want:1,2,3,4,5,6,10,11,22
 
Thanks in advance 

Answers (3)