Skip to content

Cloning widget when moving from one grid to another  #499

Closed
@redstubble

Description

@redstubble

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.

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