All docs
V21.1
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Box
Row
Map
Vue

changes[]

An array of pending row changes.

Type:

Array<DataChange>

Default Value: []
Raised Events: optionChanged

This array can be changed from the UI, with native JavaScript methods, or with UI component methods (addRow, editRow, editCell, deleteRow).

View Demo

data

An object with updated row fields.

Type:

Object

index CTP

Zero-based index of a new row. Applies only if the type is "insert".

Type:

Number

NOTE
This functionality is available as a community technology preview (CTP). Should you have any questions or suggestions prior to its official release, please email your comments to support@devexpress.com.

If the pageIndex has a value, this field sets a row index on the specified page. In other cases, this field specifies the row index within the entire grid. Only data and group rows are indexed. To add a row to the end of the page or grid, set index to -1.

key

The key of the row being updated or removed.

Type: any

pageIndex CTP

Zero-based index of a page into which a new row should be inserted. Applies only if the type is "insert" and the pager is used.

Type:

Number

NOTE
This functionality is available as a community technology preview (CTP). Should you have any questions or suggestions prior to its official release, please email your comments to support@devexpress.com.

This field has a value if the DataGrid uses the pager. This value equals paging.pageIndex, but you can override it with a custom value. To add a row to the last page, set this field to -1.

type

Data change type.

Type:

String

Accepted Values: 'insert' | 'update' | 'remove'