LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


toggle(name, row)

Expands or collapses a specified row in TreeGrid directive.

Parameters

ParamTypeDetails
nameStringThe value of name attribute of the TreeGrid directive
row (optional)ObjectThe row to be expanded or collapsed

Return Value

This method does not return a value.

Remarks

This method is part of IntegralUITreeGridService. Depending on current state of specified row, a call to this method will trigger either beforeExpand and afterExpand events, or beforeCollapse and afterCollapse events.
If there is no specified row, all rows in TreeGrid will become expanded or collapsed.

Version Information

Supported in: v1.0.

Articles & Samples

See Also