The Wayback Machine - http://web.archive.org/web/20201103081430/https://github.com/gridstack/gridstack.js/issues/1009
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using drag and drop to create nested Grids #1009

Open
AlessandroNogueiraPorto opened this issue Sep 2, 2019 · 2 comments
Open

using drag and drop to create nested Grids #1009

AlessandroNogueiraPorto opened this issue Sep 2, 2019 · 2 comments

Comments

@AlessandroNogueiraPorto
Copy link

@AlessandroNogueiraPorto AlessandroNogueiraPorto commented Sep 2, 2019

Nest items within items with drag and drop.

How can I nest items within items using drag and drop.

Your environment

  • Last of gridstack.js
  • Chrome, Firefox and Edge

Steps to reproduce

I need to drag menu items (grid-stack-item-content) into item (grid-stack-item-content), nesting parent and child items. The example is in:
https://github.com/AlessandroNogueiraPorto/gridstack

Expected behaviour

Group child items within parent items using drag and drop.

Actual behaviour

Items are currently draggable but not grouped within another item.
I need to build a process diagram with gridstack by including items within other items.

@adumesny
Copy link
Member

@adumesny adumesny commented Nov 18, 2019

related to #992

@adumesny adumesny changed the title Gridstack nested using drag and drop to create nested Grids Dec 21, 2019
@adumesny
Copy link
Member

@adumesny adumesny commented Dec 21, 2019

maybe a ctrl/alt key could signal wanting to drop over vs moving item out of the way. Would be cool feature....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.