Skip to content

BUG: Destroy() and re-intialize fails to allow draggable  #148

Open
@timothymarois

Description

@timothymarois

The destroy method seems to work, bu when you try to add gridster back on, draggable elements are no longer functional, the grid resizes and aligns the widgets correctly, but they're no longer draggable.

The issue I came across is reactive data, so destroying when data is updated and rebuilding gridster with updated reactive data on the HTML end, was the plan, but looks like you can not add gridster back after destroying.

The console has no errors, something else has cut off from running.

Add widgets by HTML is ok, but being able to add widgets by outside source, where you can have gridster.refresh() would be really ideal for reactive data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions