Advanced User Interface Controls and Components
Expands or collapses a specified row in TreeGrid directive.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the TreeGrid directive |
row (optional) | Object | The row to be expanded or collapsed |
This method does not return a value.
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.
Supported in: v1.0.
Demonstrates the performance of the AngularJS TreeGrid directive by adding large set of columns and rows. Also shows how to expand/collapse all rows.