This question is locked. New answers and comments are not allowed.
Hi
Is there a way to detect / receives notification when a TreeItem node has finished loading its subitems in a loadOnDemand scenario?
I have tried the onExpand event but it only fires after expanding and collapsing (once) the node by clicking.
The functionality I am looking for is the following:
1. Treeview on the left
2. LoadOnDemand via AJAX multiple levels of different type objects (master detail)
3. On click of a tree node the detail is shown on the right (within iframe)
4. Edit the detail
5. Refresh the tree to reflect the changes
6. Expand the nodes (effectively reloading the nodes)
7. Select the node that was edited in the detail so the detail is show again
So I will end up with the tree refreshed and the correct node is selected.
Everything works except expanding the tree back to it's original depth. I have a path array to find the nodes.
Any info would be great thanks
Rolf
Is there a way to detect / receives notification when a TreeItem node has finished loading its subitems in a loadOnDemand scenario?
I have tried the onExpand event but it only fires after expanding and collapsing (once) the node by clicking.
The functionality I am looking for is the following:
1. Treeview on the left
2. LoadOnDemand via AJAX multiple levels of different type objects (master detail)
3. On click of a tree node the detail is shown on the right (within iframe)
4. Edit the detail
5. Refresh the tree to reflect the changes
6. Expand the nodes (effectively reloading the nodes)
7. Select the node that was edited in the detail so the detail is show again
So I will end up with the tree refreshed and the correct node is selected.
Everything works except expanding the tree back to it's original depth. I have a path array to find the nodes.
Any info would be great thanks
Rolf