Advanced User Interface Controls and Components
Expands 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 |
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.
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.