Reordering of column and saveState: true modifies data based on rendering
Reordering of column and saveState: true modifies data based on rendering
Description of problem:
I am facing the problem described in the following thread: https://datatables.net/forums/discussion/68363/reordering-of-columns-invalidates-data-can-i-prevent-this
Changing the Datatables code as mentioned (invalidating the data) solves the problem while reordering the columns order all within a single page load.
However, if saveState: true
is set in the DataTables options, the same error occurs after loading the state from localStorage on page load (or table init really). So it basically changes the cells data from what is originally was to the rendered version of it. This is also DOM sourced data.
This is experienced with DataTables version 1.10.20.
Is there a workaround for this? Or has it been fixed in any newer versions?
Answers
I tried to bump to version 1.13.6 which seems to have fixed the issue. Thumbs up!