--
You received this message because you are subscribed to the Google Groups "jsTree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jstree+un...@googlegroups.com.
To post to this group, send email to jst...@googlegroups.com.
Visit this group at http://groups.google.com/group/jstree.
For more options, visit https://groups.google.com/d/optout.
I expect nodes that are disabled can never be checked/unchecked, whether from a user click or as part of a cascade.As for whether to cascade the disabled option, I can imagine use cases where one would want a parent disabled but still allow the selection of children, so I would not support this change except when it is optional.In the scenario where a parent is disabled and all the children are checked, I would expect the parent to remain unchecked.RogerGallery Server Pro
On Mon, Jul 7, 2014 at 4:51 AM, Ivan Bozhanov <ivan.b...@gmail.com> wrote:
Recently an issue came up with checkbox: https://github.com/vakata/jstree/issues/747
The problem is that if cascading is enabled then if a parent has a disabled node as a child, if you select the parent, the disabled node will be selected.
The same goes the other way around - if a parent is disabled and all its children are not, selecting all children will select the parent.
It is a controversial topic and I need more opinions before fixing this. Ideas so far:
1) Add a note to the docs page about this and leave it as it is
2) Cascade the disabled option too, so any disabled parent will automatically have its children disabled
Please share your thoughts,
Ivan
--
You received this message because you are subscribed to the Google Groups "jsTree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jstree+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jstree+un...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jstree+un...@googlegroups.com.