Skip to Content
0
Former Member
Feb 04, 2004 at 11:12 AM

Code for expanding treenode

249 Views

Hi @ll,

I have an application that uses the control <htmlb:tree> to display a dynamic tree

structure. In this application I use onClick to select one node in this tree. There

is a group of buttons that allow the user to trigger different actions for the selected

node (i.e. "display details", "add new child node", "expand subtree", ...).

Some of this actions require that I can control the expanding / collapsing of nodes

from within my abap code. Unfortunatelly the "status" property of the treenodes is

only used for initialisation. Modifications to this attribute for already existing nodes

have no effect.

Hope there is a way how to achieve this...

Best regards, Thomas