You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
grid.save() and page refresh. Original configuration is lost if save is called in oneColumnMode #1849
When calling grid.save() in oneColumn mode, for example after grid change, original widgets configuration is not exposed in the resulting JSON config.
We store this config in localStorage.
Then, after restoring the grid in a different session (reloading the page) , loading config from storage, there is no way to deduce the original config, every widget has w = 1 and is misplaced.
Your environment
4.2.5 HTML
chrome/win
Expected behavior
The save method should generate a config that can help the grid to reload correctly.
Actual behavior
Calling save in oneColumn mode and storing the result, is resulting in a wrong original widget configuration if loading from localStorage in a following page reload.
Activity
save full res in 1 column mode
save full res in 1 column mode
adumesny commentedon Oct 16, 2021
fixed in next release. don't forget to donate if you find this lib useful!