Step 1:
After expanding a Parent node the collapse icon changes to expanded icon
Expanded.JPG (11.11 KiB) Viewed 256 times
Step 2:
But after expanding it once, if I click on the task to collapse the parent this happens
Collapsed.JPG (10.09 KiB) Viewed 256 times
Note: the parent is collapsed now but the icon still shows of the expanded one, I have checked the isExpanded property of that task and it comes properly (isExpanded false during the 2nd step)
fyi, the children are loaded on demand after expanding the parent.
Last checked it was not working in 4.3.9 and also in the latest 5.1.0
As children: true, it renders an icon denoting there are childrens under this node, when i click on it the next taskStore API fires and gives me its children and renders them (while opening the parent).
This is the point where the icon is supposed to show the expanded icon which it does, but after clicking on it again, the children list gets collapsed but the icon remains in the "Open" state