Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference

expand(name, row)

Expands a specified row in TreeGrid directive.


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

Return Value

This method does not return a value.


This method is part of IntegralUITreeGridService. A call to this method will trigger beforeExpand and afterExpand events. By handling beforeExpand event you can prevent expanding of specified row using your own custom conditions.
An row can also become expanded by setting the expanded variable of row object to true. However, in this case only afterExpand event will be fired.
If there is no specified row, all rows in TreeGrid will become expanded.

Version Information

Supported in: v1.0.

Articles & Samples

See Also