Hi community,
We wait a long time for recursive mode feature in tree view.
But we found it has some limitations, when parent is expanded and selected and It's childs are selected .
No option to uncheck disable childs.
The support said the need to implement Recursive mode with Independent mode and add my logic inside.
I added a basic sample code and would like to add the following logic , can you help to implement these scenarios:
Scenario 1 -When the parent expanded and parent checked and have children, all it's children need to be checked :
You can check whether the child items are nodes from the parent and add them to the Checked Items collection.
Scenario 2 -When the parent not expanded and parent checked and have no children:
Just add this item to the Checked Items collection.
Scenario 3 -When I uncheck child the parent should be unchecked:
How is can be done ?
Scenario 4 - When parent unchecked, how i unchecked all its children:
How is can be done ?
Thanks in advance,