About sorting

About sorting

puspendumpuspendum Posts: 1Questions: 0Answers: 0
edited December 2011 in General
Hi,
I am using jquery.datatable.js .. I am inserting some data after a perticular interval... Suppose in my table 25 rows is there ane each page 10.. In the first page I sort it desending order according some time... I am inserting data with greater time it is always inserting top in the first page.. But if I am in another page and inserting controll will going to first page.. How I will restric this.. I don't want to shift in the first page.. I want to stay in the current page..

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    It does that because it is doing a full resort and a refuter when you call the draw function. To stop that, you can use the standing redraw plug-in function: http://datatables.net/plug-ins/api#fnStandingRedraw

    Allan
This discussion has been closed.