Tree Item - ItemExpanding Event

A list item has expanded, showing all child items

Member of Tree Item (PRIM_TREE.TreeItem)


NameTypeData TypeDescription
Item*InputPRIM_TREE.TreeItemReference to the Tree item


The ItemExpanding event is fired when an item is expanded by the user.
It is typically used as a trigger to load additional child data.
The correspedonding OnItemExpanding method will be executed on the interface


In this example, the level of the expanding item is tested to determine what sort of data to add.
Evtroutine Handling(#Tree.ItemExpanding)
   Case (#Tree.CurrentItem.Level)
   When (= 1)
   When (= 2)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2