fnDraw without resetting pagination

fnDraw without resetting pagination

vuceticavucetica Posts: 15Questions: 0Answers: 0
edited February 2010 in General
Hi,

I'm executing an action on one of the records (rows) in a datatable (data gathering goes from the server side). After that I'm calling fnDraw to redraw that page. But unfortunately fnDraw does paging reset, so I'm returned to the first page. I have tried calling fnDraw(false), but again no success. Is there any way to redraw a table without paging reset? Thanks!

aca

Replies

  • allanallan Posts: 63,700Questions: 1Answers: 10,501 Site admin
    Hi aca,

    I think this is what you are looking for: http://datatables.net/plug-ins/api#fnStandingRedraw

    Regards,
    Allan
  • vuceticavucetica Posts: 15Questions: 0Answers: 0
    I already did it with fnDraw(false) (had to update to the newest version of datatables, because I was running 1.5 and that one didn't take into account bool parameter for fnDraw).
    Thanks!

    aca
This discussion has been closed.