Skip to content

nested grid save() incorrectly re-list children#2173

Merged
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master
Jan 16, 2023
Merged

nested grid save() incorrectly re-list children#2173
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

Copy link
Copy Markdown
Member

Description

  • fix Nested-Grids: grid.save() and grid.load() behaviour  #2171
  • we no longer store ops.subGrid for each nested grid. instead we parse the top grid that has this info and re-use it during create
  • save() now handles saving only layout of subGrid more efficiently (don't list options)
  • updated demo to showcase the issues

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

* fix gridstack#2171
* we no longer store ops.subGrid for each nested grid. instead we parse the top grid that has this info and re-use it during create
* save() now handles saving only layout of subGrid more efficiently (don't list options)
* updated demo to showcase the issues
@adumesny adumesny merged commit 662d33e into gridstack:master Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nested-Grids: grid.save() and grid.load() behaviour

1 participant