Can I set table not to auto-refresh after I called fnUpdateData?

Can I set table not to auto-refresh after I called fnUpdateData?

buaayttbuaaytt Posts: 12Questions: 0Answers: 0
edited October 2013 in General
Right now, after I called fnUpdateData, the table is auto-refreshed with the previous sorting option. While this might be convenient in some cases, I want to have more flexible control over this behavior. Is it possible to disable this auto data refresh feature?

Replies

  • allanallan Posts: 63,541Questions: 1Answers: 10,476 Site admin
    As in the table does a redraw? In DataTables 1.9 - I'm afraid not, no. However in 1.10, which is in development would will be able to call the new `draw( false )` function to have it draw keeping the current paging. 1.10 with this feature is in git if you want to try it...

    Allan
  • buaayttbuaaytt Posts: 12Questions: 0Answers: 0
    I see. The problem with this behavior is a request to the server will be made when the table tries to auto redraw itself. Thanks anyway.
This discussion has been closed.