Hi,
I got a large tree, containing many nodes with child nodes several levels deep.Right after loading the nodes on the page, i can select the active node (using binding), but i don't succeed in bringing the selected node into view once the screen has been loaded.
I have tried using the containergenerator events to bring the node into view but it doesn't work, even though the status flag indicates that the containers were generated. I also noticed that i can actually not get the container from any of the items that are not on the root level. So it seems to me that this event is thrown to early, since it appears that it is fired before ALL containers have been generated (this is probably the reason why i can't get it to work properly).
BTW: If i start a timer from one of these containergenerator events and i wait just a second, then i can bring the node into view... so the code for bringing the item into view actually works, but i just cannot find any event that i can use to enable this scenario. I really don't want to resort to ugly hacks such as using a timer.
Best Regards,
Peter
I got a large tree, containing many nodes with child nodes several levels deep.Right after loading the nodes on the page, i can select the active node (using binding), but i don't succeed in bringing the selected node into view once the screen has been loaded.
I have tried using the containergenerator events to bring the node into view but it doesn't work, even though the status flag indicates that the containers were generated. I also noticed that i can actually not get the container from any of the items that are not on the root level. So it seems to me that this event is thrown to early, since it appears that it is fired before ALL containers have been generated (this is probably the reason why i can't get it to work properly).
BTW: If i start a timer from one of these containergenerator events and i wait just a second, then i can bring the node into view... so the code for bringing the item into view actually works, but i just cannot find any event that i can use to enable this scenario. I really don't want to resort to ugly hacks such as using a timer.
Best Regards,
Peter