Advanced User Interface Controls and Components
Expands or collapses a specified item in TreeView component.
Param | Type | Details |
---|---|---|
item (optional) | Object | The item to be expanded or collapsed |
This method does not return a value.
Depending on current state of specified item, a call to this method will trigger either beforeExpand and afterExpand events, or beforeCollapse and afterCollapse events.
If there is no specified item, all items in TreeView will become expanded or collapsed.
Supported in: v1.0.