Advanced User Interface Controls and Components
Gets or sets the collection of selected tree rows.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the Grid directive |
rows (optional) | Array | An array of row objects to be selected |
If there is no specified rows, this property returns a list of currently selected rows. Otherwise does not return a value.
This method is part of IntegralUIGridService.
Most usable when selectionMode property is set to 'multi-simple' or 'multi-extended' , which enables multiple rows to become selected.
Supported in: v1.0.
An example on how to use an image as a checkbox and select rows either from checkbox column or by using CTRL or SHIFT keys.
Learn how to handle events that are fired whenever a column or row is selected in Grid directive for AngularJS. Explains how to prevent selection of a row depending on custom conditions.
A demonstration of different selection types available in Grid directive.