Advanced User Interface Controls and Components
Occurs before an row becomes expanded.
Param | Type | Details |
---|---|---|
e | Object | An event object which contains the expanding row |
This event can be handled by creating a function in your application controller $scope and applying this function as value to an attribute in TreeGrid directive:
The events attribute has a higher priority than the before-expand attribute. If both attributes are set, the value from events attribute is used.
For cancellation, simply return a false value in this event handler.
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.