ASPxClientGridViewBatchEditApi.HasChangesByKey(key) Method

Returns a value that indicates whether the specified data cell's data has been changed.

Declaration

HasChangesByKey(key: any, columnFieldNameOrId?: string): boolean

Parameters

Name Type Description
key any

A String value that identifies the row by its key value.

columnFieldNameOrId string

A string value that identifies the column by the name of the data source field to which the column is bound, or by the column's name.

Returns

Type Description
boolean

true, if the cell has changed data; otherwise, false.

Remarks

The ASPxGridView control allows you to modify a batch of grid data on the client side and send it to the server in a single request. Use the HasChangesByKey method to determine whether the specified data cell has changed data.

See Also