Advanced User Interface Controls and Components
Gets or sets the currently selected column in TreeGrid directive.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the TreeGrid directive |
column (optional) | Object | The column to be selected |
If there is no specified column, this property returns the currently selected column. Otherwise does not return a value.
This method is part of IntegralUITreeGridService.
A call to this method will trigger beforeSelect and afterSelect events. By handling beforeSelect event you can prevent selection of specified column using your own custom conditions.
An column can also become selected using the selected-column attribute of TreeGrid directive. In this case only afterSelect event will be fired.
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.