Closed PatrickHarriss closed 6 years ago
This feature would be really appreciated.
@PatrickHarriss ~I don't think there will be plans to alter the default save state mechanism to accommodate the plugin.~ A possibility would be to get and save the widths of the columns on stateSaveCallback
in a separate object and read and set the widths during stateLoadCallback
again.
Could look to utilise the https://datatables.net/reference/event/stateSaveParams
and https://datatables.net/reference/event/stateLoadParams
.
Thanks for looking at this, and thanks for the plugin. I'll look into the suggestions you gave. I was going to mention that the ColReorder plugin saves the state of the column order but realized that is an extension and not a plugin so might not be apples to apples.
@PatrickHarriss @konuch did the latest release solve the issue?
It did. Thank you.
When using the stateSave Datatables functionality would like the column sizes saved so when the user expands or shrinks the column size it will remember those settings the next time the table is initialized.