Size of columns is wrong when reorder colums. How can I fix it?
Size of columns is wrong when reorder colums. How can I fix it?
Hi everybody,
I use datatables 1.9.4 and the ColReorderWithResize plugin version 1.1.0-dev2.
I save the state of the table when a user action is performed (sorting, resize, reorder, ...).
Now I do the following:
I reorder my columns (e. g. place the third column on the second place) and then resize it from 200px to 400px.
table state is saved now.
If I reload the table (the saved table state is loaded) I got the following problem:
The former third column is on the second place now (which is correct of course), but it has a width of 200px instead of my given 400px.
Instead of this, the column which is now on third place has the width of 400px.
Seems like there are some twisted IDs or something.
When you do it the other way round (resize columns first and then reorder them), the correct state is loaded after reloading the table.
How can I fix this issue? Some ideas?