Skip to content

grid.save() and page refresh. Original configuration is lost if save is called in oneColumnMode  #1849

@andrea-spotsoftware

Description

@andrea-spotsoftware

Subject of the issue

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions