Advanced User Interface Controls and Components
Occurs before an row becomes selected.
Param | Type | Details |
---|---|---|
e | Object | An event object which contains the 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-select 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.
Learn how to handle events that are fired whenever a column or row is selected in TreeGrid directive for AngularJS. Explains how to prevent selection of a row depending on custom conditions.
A demonstration of different selection types available in TreeGrid directive.