-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable/enable method is not recursive #2105
Labels
Comments
I missed that. you may want to control children differently, so it needs an optional argument to be recursive (on by default) |
yes, It's what I was thinking. Actually I'm doing it manualy. Thanks for your answer ! |
turns out not trivial as I also need to update enableMove(), enableResize(), setStatic() as well to deal with recursions... so 5+ methods. agrr. |
adumesny
added a commit
to adumesny/gridstack.js
that referenced
this issue
Dec 27, 2022
* fix gridstack#2105 * disable/enable/setStatic/enableMove/enableResize now all take an optional recurse flag to update sub-grids
fixed in next release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello !
It seems that disable/enable method is not recursive ?
If I call thoses methods on the main grid, subgrid will not be affected.
Maybe i'm doing something wrong ?
Thanks
The text was updated successfully, but these errors were encountered: