Skip to content

Update grid Options (Is it possible?) #898

@Jokenbol

Description

@Jokenbol

Subject of the issue

Hi. I'm trying to update the grid options. First I create a grid with the disableDrag and disableResize options set to true. Then I want to change the options so that the grid will be draggable and resizable.

Your environment

  • version of gridstack.js : 0.3.0
  • which browser and its version : chrome version 66.0.3359.181

Steps to reproduce

(https://jsfiddle.net/jokenbol/6ej6x7hq/2/)

Expected behaviour

I want to change the options so that the grid will be draggable and resizable after the grid has previously been set to non-draggable and non-resizable

Actual behaviour

The state doesn't change even if options have changed.

Thank you.

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