DataTable Sorting and Pagination issue

DataTable Sorting and Pagination issue

shaikh16shaikh16 Posts: 1Questions: 0Answers: 0
edited May 2013 in General
Hi,
I am stuck on this one for days.I am using a datatable 1.8 for which when I retrieve data for the first time,I am able to do pagination and sorting properly.But when later I search and retrieve other data,on sorting (click of the header)or paging (click on the page number) I get data sorted of the 1st table retrieved.
$("#data-table1").dataTable({
"aLengthMenu": [[5, 10, 15, 20, -1], [5, 10, 15, 20, "All"]],
"asSorting": [[1, "asc"]],
"iDisplayLength": 5,
"bFilter": true,
"bInfo": false,
"sPaginationType": "full_numbers",
"bJQueryUI": false,
"bRetrieve": true,
"bStateSave": true,
"bDestroy": true
});
These are the things I have tried.
Please give me a solution .
Thanks.

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Link to a test case please: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read .

    Allan
This discussion has been closed.