Greetings,
I have a requirement to create a treeview with checkboxes with the following details:
This combination is proving to be very challenging to implement. I have tried using a template for the nodes and providing my own checkbox, however the checkbox doesnt seem to bind properly (and anyways, two way binding would be needed and I don't have any idea how to enable that).
Any advice on how to approach this?
I have a requirement to create a treeview with checkboxes with the following details:
- The tree will have a lot of items in it, so it should load nodes dynamically upon expansion. My assumption is that this means I will be binding to a Hierarchical DataSource
- Special behavior: When an item is checked, all children should be checked. (Unchecking should not uncheck the children, it's just the check operation that propagates downwards)
- Impotant: The built-in "checkChildren" behavior does not work for this requirement as it enables tri-state and links the checked state of the parent to the checked state of the children, which is not desired.
This combination is proving to be very challenging to implement. I have tried using a template for the nodes and providing my own checkbox, however the checkbox doesnt seem to bind properly (and anyways, two way binding would be needed and I don't have any idea how to enable that).
Any advice on how to approach this?