ASPxClientVerticalGridBatchEditApi.GetCellValue(visibleIndex, rowFieldNameOrId) Method

Gets the value of the specified cell.

Declaration

GetCellValue(
    visibleIndex: number,
    rowFieldNameOrId: string,
    initial?: boolean
): any

Parameters

Name Type Description
visibleIndex number

A zero-based integer value that specifies a visible index of a record containing the processed cell.

rowFieldNameOrId string

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

initial boolean

true, to return the initial (server) value; false, to return a value currently contained on the client side (modified value).

Returns

Type Description
any

An object containing the specified cell’s value.

Remarks

The code sample below demonstrates how to use the GetCellValue method.

var x = MyVerticalGridClientName.batchEditApi.GetCellValue(0, "ProductName");
NOTE

The GetCellValue method does not return a value if the column’s GridColumnEditFormSettings.Visible property is set to false.

See Also