Skip to Content
* this handler is called once the page is first created (stateful mode) * it performs a once-off data initialization or object creation DATA: wa_tree LIKE LINE OF i_tree .  MOVE: ‘dynTree’ TO wa_tree-treeid ,       ‘Node0’ TO wa_tree-childid ,        ‘Node0 with children’ TO wa_tree-text , *       ‘X’ TO wa_tree-toggle ,        ‘Node0’ TO wa_tree-tooltip ,        ‘open’ TO wa_tree-status ,        ‘mynodeClick’ TO wa_tree-click . APPEND wa_tree TO i_tree . CLEAR: wa_tree.  MOVE: ‘dynTree’ TO wa_tree-treeid ,       ‘Node1’ TO wa_tree-childid ,        ‘Node0’ to wa_tree-parentid ,        ‘Node1 with children’ TO wa_tree-text , *       ‘X’ TO wa_tree-toggle ,        ‘Node1’ TO wa_tree-tooltip ,        ‘closed’ TO wa_tree-status ,        ‘mynodeClick’ TO wa_tree-click . APPEND wa_tree TO i_tree . CLEAR: wa_tree.  MOVE: ‘dynTree’ TO wa_tree-treeid ,       ‘Node2’ TO wa_tree-childid ,        ‘Node0’ to wa_tree-parentid ,        ‘Node2 with children’ TO wa_tree-text ,        ‘X’ TO wa_tree-toggle ,        ‘Node2’ TO wa_tree-tooltip ,        ‘closed’ TO wa_tree-status ,        ‘mynodeClick’ TO wa_tree-click .  APPEND wa_tree TO i_tree . CLEAR: wa_tree.  MOVE: ‘dynTree’ TO wa_tree-treeid ,       ‘Node3’ TO wa_tree-childid ,        ‘Node0’ to wa_tree-parentid ,        ‘Node3 without children’ TO wa_tree-text ,        ‘X’ TO wa_tree-toggle ,        ‘Node3’ TO wa_tree-tooltip ,        ‘final’ TO wa_tree-status ,        ‘mynodeClick’ TO wa_tree-click .  APPEND wa_tree TO i_tree . CLEAR: wa_tree.     OnInputProcessing   When the node expander icon (image
To report this post you need to login first.

5 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply