Skip to content

Conversation

@adumesny
Copy link
Member

Description

  • added new API to create a grid and it's children
  • load() will now recursively create nested grid
  • updated nested.html to use new API
  • fixed tests

TODO: next have save() work on nested grids (API will have to change)

Checklist

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

* added new API to create a grid and it's children
* load() will now recursively create nested grid
* updated nested.html to use new API
* fixed tests

TODO: next have save() work on nested grids (API will have to change)
@adumesny adumesny merged commit 9b48e1e into gridstack:develop Nov 30, 2020
adumesny added a commit to adumesny/gridstack.js that referenced this pull request Nov 30, 2020
* continue gridstack#1498
* addGrid() is now static as it can replace inti() method actually
* fixed nested.html demo to use it instead of load()
and fixed button actions.

* noticed dragOut:false is no longer working (even in JQ case). Will post bug.
This was referenced Nov 30, 2020
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.

1 participant