I have a query regarding selection of nodes.
I have implemented in a way that when a particular nodes is being clicked all of its child nodes are selected. But after collapse and then expand, the child nodes are set unselected. Please help me to retain the selection even though it is collapsed.
Something in your code is changing the selection. If possible please attach a simple sample that demonstrates this behavior and we will try to shed light on why it is happening.