Skip to content

disable/enable method is not recursive #2105

Closed

Description

@ptorrent

Hello !

It seems that disable/enable method is not recursive ?

If I call thoses methods on the main grid, subgrid will not be affected.

grid.enable()
grid.disable()

Maybe i'm doing something wrong ?

Thanks

Activity

  1. adumesny commented on Nov 14, 2022

    @adumesny
    Member

    I missed that. you may want to control children differently, so it needs an optional argument to be recursive (on by default)

  2. ptorrent commented on Nov 14, 2022

    @ptorrent
    Author

    yes, It's what I was thinking. Actually I'm doing it manualy.

    Thanks for your answer !

  3. adumesny commented on Dec 27, 2022

    @adumesny
    Member

    turns out not trivial as I also need to update enableMove(), enableResize(), setStatic() as well to deal with recursions... so 5+ methods. agrr.

  4. added a commit that references this issue on Dec 27, 2022
    188618f
  5. adumesny commented on Dec 27, 2022

    @adumesny
    Member

    fixed in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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