I have treecheckboxes in the format of the template below.
The child checkboxes are being set programatically, however doing so doesn’t trigger the parent checkboxes to reflect the 3-state value of the child checkboxes.
How does one accomplish this in the same way as happens when the child checkboxes are clicked manually?
There must be an event that is fired to update the parent 3-state values when the child checkboxes are clicked manually. How can one use this event programatically?
There must be an event that is fired to update the parent 3-state values when the child checkboxes are clicked manually. How can one use this event programatically?
You can use onItemCheck which fires when you check an item in a tree
Please check the sample: Code Snippet
Many thanks for your reply. Note that when clicking manually, the parent 3-state checkboxes work as expected.
The problem I have is that when a child checkbox is checked or unchecked programatically (not by clicking manually), then the parent checkboxes are not updated.
There has to be some event that is fired when a child checkbox is clicked manually that updates the parent checkboxes. What is that event and how can it be used programatically?