Skip to content

Unable to load grid layout content from localstorage #1405

@Souvikray

Description

@Souvikray

I have already posted a question in stackoverflow where I have described my issue. Here is the link https://stackoverflow.com/q/64219336/5550284

Basically I have a layout (some widgets of varying sizes) which I am able to save the information (size and coordinates) to a localstorage but I am unable to fetch the information back from the localstorage. I am specifically having issue with this piece of code $('.grid-stack').data('gridstack') which gives undefined. I have mentioned the problem in detail in my stackoverflow post so please refer the link above.

I am using gridstack.js npm version: 2.0.2

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