Skip to content

Changing rows after init doesn't work, component has to be re-created #3085

@john8329

Description

@john8329

Subject of the issue

As reported here, it appears that changing row options after the component has been initialized (in my case becaues it asynchronously loads a configuration) doesn't seem to have any effect. If I apply those options at the first creation, they work.

Your environment

  • version of gridstack.js -12.2.1, using the Angular library
  • Chrome 2025-06

Steps to reproduce

The JSFiddle isn't for Angular, so it's not relevant, but this happens when I set the options object (passed to <gridstack> via property binding) to a new one. Some options work, others don't.

Expected behavior

If I, for example, ask the component to have 2 rows where it was initialized with 3, it should reduce to 2. Currently it does not.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions