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

Cloning widget when moving from one grid to another #499

Closed
redstubble opened this issue Aug 15, 2016 · 3 comments
Closed

Cloning widget when moving from one grid to another #499

redstubble opened this issue Aug 15, 2016 · 3 comments

Comments

@redstubble
Copy link

I have seen a number of similar issues, however I cannot seem to get any to work. I have one template gridstack which I want to drag widgets onto another dashboard. However I want to duplicate this widget rather than move it.

I have tried removing $(ui.draggable).remove(); and removing the attributes, however the behaviour is still not working. The element is still bound to the cloned element. How do I reset this?

Or is it easier to create a draggable element using Jquery that can bind into the gridstack, when dragged over it?

Any hints or tips would be greatly appreciated.

@radiolips
Copy link
Member

We'll handle this in #396 . You may want to watch that one, as hopefully we'll have many fixes in v0.2.7, including a fix for this. Thanks! Please reopen if you feel this is different from the other, or open a new ticket if you have any more issues. Thanks, @redstubble !

@radiolips
Copy link
Member

This works on the develop branch now. Please be sure to use draggable setting helper: clone.

@nicolecf
Copy link

The helper:"clone" work's on 0.40 version?

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

No branches or pull requests

3 participants