fnRedraw forces datatable to go to the first page

fnRedraw forces datatable to go to the first page

vuceticavucetica Posts: 15Questions: 0Answers: 0
edited October 2009 in General
When i call fnRedraw in order to refresh data of my table, it does refreshing, but rewinds to the first page. Is there a way to update datatable with fnRedraw or with some other method, and to remain on the current page? Thanks!

Aca

Replies

  • allanallan Posts: 61,743Questions: 1Answers: 10,111 Site admin
    Hi Aca,

    Have a look at this discussion, which is relevant: http://datatables.net/forums/comments.php?DiscussionID=573

    Regards,
    Allan
  • vuceticavucetica Posts: 15Questions: 0Answers: 0
    Allan, thanks! It works as you mentioned in the thread, you saved my day! Do you have a plan to include this patch in the next release?

    Regards,
    Aca
  • allanallan Posts: 61,743Questions: 1Answers: 10,111 Site admin
    HI Aca,

    Good to hear that helped. I'll not be including the current 'solution' as it is (since it's an ugly hack really :-) ), but I will be looking to include some method of doing this in future versions (probably not 1.5.3 though...).

    Regards,
    Allan
This discussion has been closed.