cancel
Showing results for 
Search instead for 
Did you mean: 

Event OnLoadChildren on TreeNode

Former Member
0 Kudos

I just build up a dynamic tree, but I need to load every single child of the tree when the "father" is expanded; to achieve this, the Was 640 introduced the event "OnLoadChildren" which, correctly, is raised every time I expand a node...but the point is: how can I know which is the node I just expdanded???

For Instance, there is also the event "OnAction" which is raised every time i "Select" a single node, and on the node there is also the property isSelected which tell me if the node has been selected, but I can't find a method alike for the "expansion" event

Regards

ED

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Ed,

please have a look at the Developer Studio doc - just look for "onLoadChildren" and you will find "Web Dynpro TreeNodeType API - IWDTreeNodeType". There is a complete working example how to handle this (in short: you have to add and map an additional parameter (path) for the eventhandler, and by this you will get your element directly).

Hope it helps

Detlev

Former Member
0 Kudos

Thanks, Detlev!

I just find it and it works fine!!!

Best Regards

ED