gijgo icon indicating copy to clipboard operation
gijgo copied to clipboard

Treeview Checkbox Event Firing Logic

Open gt4play opened this issue 4 years ago • 0 comments

For the checkbox tree where there are parent and children nodes. If checkbox cascading is enabled (checking or unchecking a parent results in checking and unchecking all children), change events will fire for every child even if there is no change in checked state. Example, if there is a single parent with 5 children, and just one child is checked, the process of unchecking the parent results in (6) events firing: 1 for the parent and one for each child. Seems to me only two events should fire (not for those children that were unchecked to begin with).

gt4play avatar Feb 17 '21 19:02 gt4play