Advanced User Interface Controls and Components
Moves a row or set of rows in specified direction in Grid directive.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the Grid directive |
row | Object or Array | The row or array of rows to be moved |
targetRow (optional) | Object | A reference row after or before moved rows will be positioned |
direction | String | Direction at which row(s) will be moved |
position (optional) | Integer | The indexed location within the collection to move the row(s) |
This method does not return a value.
This method is part of IntegralUIGridService.
The following values are accepted by the direction argument:
Supported in: v2.3.
Learn how to dynamically add or remove rows and columns in Tree Grid for AngularJS using several different methods. Each operation is accompanied with events which can be handled in your code.
An example on how to add new rows dynamically in IntegralUI Grid AngularJS