Hi
Im noticing some behaviors I was not expecting when using the treeview with checkboxes and expandable nodes.
Some of it could be my understanding of expectations.
My sample code is here, it's a hierarchy of users with expandable nodes and checkboxes and it shows what keys have been checked, what keys have been expanded and includes buttons for collapsing and expanding and a search.
https://stackblitz.com/edit/angular-cnzlah?file=app/app.component.ts
1. Open the sample, The treeview loads collapsed,
if i check "User 1", i see it in my list of checked keys (1),
if i open the "User 1" node using the chevron, i then see more checked keys(1,2,4). Is this expected behavior ?
I would expect after checking "user 1" to see all the keys checked (1,2,3,4) since checkChildren = true.
If I expand all then check "User 1" then i do see all the nodes checked (1.2.3.4)
2. Refresh the sample,
Check "user 1",
expand the "User 1" node,
expand the "User 2" node.
Uncheck user 1",
collapse the "User 1" node,
Check user 1",
expand the "User 1" node,
*** now the child nodes are not being checked
3. Refresh the sample,
Check "user 1",
Click "Expand All" button ...
*** now the child nodes are not being checked ....