Skip to main content
A newer version of this page is available. .

ASPxClientGridViewBatchEditApi.SetCellValueByKey(key, columnFieldNameOrId, value) Method

Sets the value of the specified cell.

Declaration

SetCellValueByKey(
    key: any,
    columnFieldNameOrId: string,
    value: any,
    displayText?: string,
    cancelCellHighlighting?: boolean
): void

Parameters

Name Type Description
key any

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

columnFieldNameOrId string

A string value that specifies the field name or unique identifier (the column’s WebColumnBase.Name property value) of a column containing the processed cell.

value any

An object that contains the new cell value.

displayText string

A string value that specifies the cell display text.

cancelCellHighlighting boolean

true to cancel highlighting of the modified cell, false to highlight the modified cell.

See Also