LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


toggle(item)

Expands or collapses a specified item in TreeView component.

Parameters

ParamTypeDetails
item (optional)ObjectThe item to be expanded or collapsed

Return Value

This method does not return a value.

Remarks

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.

Version Information

Supported in: v1.0.

See Also