fnUpdate without sorting and filtering
fnUpdate without sorting and filtering
fungusThunder
Posts: 1Questions: 0Answers: 0
I have a data table with server-side processing and a quick edit implementation. I use fnUpdate method to update the display of cell data, because I want datatables to execute the appropriate fnCreatedCell callback to format the value properly.
The problem is that if I am not on the first page and execute fnUpdate I end up on the first page. fnUpdate redraws the whole table and the sorting and/or filtering that are internally executed reset the oSettings._iDisplayStart to 0.
Is it possible to update the current page without calling the internal sort / filter functions, because the table does not have to be re-sorted nor re-filtered.
If there is some other method to initiate just a cell redraw so that the fnCreatedCell callback is executed, then that would also be a solution.
The problem is that if I am not on the first page and execute fnUpdate I end up on the first page. fnUpdate redraws the whole table and the sorting and/or filtering that are internally executed reset the oSettings._iDisplayStart to 0.
Is it possible to update the current page without calling the internal sort / filter functions, because the table does not have to be re-sorted nor re-filtered.
If there is some other method to initiate just a cell redraw so that the fnCreatedCell callback is executed, then that would also be a solution.
This discussion has been closed.