TreeNodeType Events
Use
-
onLoadChildren
Action that is executed when the data for a compressed tree node that initially has no children is read from the back end only if required. This requires the implementation of a corresponding event handler. At runtime, this event handler is called when a tree node that has no data for its children is expanded. The Web Dynpro application can use this event handler to read data for the children of the expanded tree node and add this data to the tree. The node element that corresponds to the expanded tree node is passed as an event parameter in the event handler to the Web Dynpro application. This requires a Parameter Mapping, so the Web Dynpro framework can execute the automatic type conversion from the type of the event parameter to the type of the event handler parameter.
The event handler of the event onLoadChildren is only triggered during the expansion if no data for the children of the expanded node exists If the application adds data during the expansion, the event is not triggered when the tree node is opened again.
Parameter Name
Type
Description
ID
STRING
CONTEXT_ELEMENT
IF_WD_CONTEXT_ELEMENT
PATH
STRING
Path of the context element to which the tree node that triggered this event corresponds