Skip to Content
author's profile photo Former Member
Former Member

Event OnLoadChildren on TreeNode

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 28, 2004 at 02:04 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.