Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • 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 comment
    10|10000 characters needed characters exceeded