Entering content frame

Background documentation TreeNodeType Properties Locate the document in its SAP Library structure

Properties in the View Designer

     expanded

Specifies whether a tree node can be expanded or collapsed. The binding of this property is not mandatory, however, we recommend the binding of the property to a context attribute. In this case, this context attribute must be contained in a context node to which the dataSource property is bound. You can now specify the initial expansion status of the tree node.

Note

This property, which does not have to be bound, can be changed by the client.See also Properties Used in MultiPane or TablePopin

     hasChildren

Specifes whether a tree node may have children. If you define an onLoadChildren event handler, the corresponding tree element is displayed as a tree node by default – that is, the tree element has an expansion symbol that can be used to expand or collapse the tree.If you know beforehand or during the LoadOnDemand that a tree element does not contain children, you can set the hasChildren property to false. The default value for this property is true. The tree element is then displayed as a leaf without an expansion symbol.

Note

The hasChildren property is only evaluated if no data for children of the corresponding tree element is available. Tree elements are always displayed as tree nodes if data for their children is available.

 

 

Leaving content frame