A list item has expanded, showing all child items
Member of List List Item (PRIM_LIST.ListItem)
Name | Type | Data Type | Description |
---|---|---|---|
Item | *Input | PRIM_LIST.ListItem | Reference to the 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.
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) #Com_owner.LoadSections When (= 2) #Com_owner.LoadEmployees Endcase Endroutine
Febuary 18 V14SP2