𖣂 TreeView

Similar to ListView, but can display a hierarchical tree of elements.

This class shares methods and events from TreeView.

⚑ Overridable Functions


OnGetItemChildren

Called when the childrens of an item are requested.

β€” Returns table.

TreeView:OnGetItemChildren(Widget)
TypeParameterDescription

Widget

🦠 Functions


SetItemExpansionState

TreeView:SetItemExpansionState(Item, IsExpanded)
TypeParameterDescription

Item

IsExpanded

πŸš€ Events


ExpansionChanged

Triggered when the expansion state of a item changed.

TreeView:BindDispatcher("ExpansionChanged", function(self, Item, InternalWidget, IsExpanded)
    -- ExpansionChanged was called.
end)

Last updated