Hi bryntum team
I want to obtain all the expanded tasks after user click save button, But i found that the expanded property of the tasks has always been the original data of the task, even if the user clicks the expand icon button and expanded the task.
I uploaded a test case, could you help me check it.
Support Forum
- Attachments
-
- test-case.zip
- (68.31 KiB) Downloaded 12 times
-
- MicrosoftTeams-image (5).png (354.81 KiB) Viewed 143 times
As a tree node can be part of multiple stores, you should query for this:
https://bryntum.com/products/gantt/docs/api/Core/data/mixin/TreeNode#function-isExpanded
task.isExpanded(gantt.taskStore)