I have a xamDataTree bound to a ViewModel with nested nodes and checkboxes on all levels of the tree.
The checkbox for the deepest level of nodes is bound to a data member using the "CheckBoxMemberPath" option. This all works fine.
I have a button on the form to check all items. My code goes through and then toggles the data member which is bound via CheckBoxMemberPath.
This works great, except when the parent nodes are collapsed. The child nodes are checked, but the parent nodes are not. If I open the parent nodes and then hit "check all", the parents are then checked/unchecked appropriately.
Any idea what I need to do to have the parent node check state accurately reflect the children's?
Thank you for your post. I have been looking into it and I can suggest you set the XamDataTree’s CheckBoxSettings’ CheckBoxMode to Auto.
Hope this helps you.
Sadly, if I set the CheckBoxMode to Auto, the problem still occurs.
Since I wasn’t able to reproduce your behavior, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.