Skip to content

Any way to set AcceptWidgets programatically? #1113

@Almightyzhir

Description

@Almightyzhir

Subject of the issue

I would like to be able to set a grid's state to acceptwidgets to false once a widget has been put inside it. So it will initially be enabled then disabled by calling a method. So the grid is basically locked. I've checked the documentation and have tried a range of API methods but nothing works. Is there any way to do this?

Your environment

  • version of gridstack.js = 0.6.0
  • which browser and its version = Google Chrome 79.0.3945.117

Steps to reproduce

Just a question

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