Skip to main content

ASPxClientGridViewBatchEditApi.GetCellTextContainerByKey(key, columnFieldNameOrId) Method

Gets a container holding a data cell content.

Declaration

GetCellTextContainerByKey(
    key: any,
    columnFieldNameOrId: string
): any

Parameters

Name Type Description
key any

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

columnFieldNameOrId string

A string value that is the column’s Field Name or ID.

Returns

Type Description
any

An object that is the HTML container element that contains the data cell’s content.

Remarks

Use the GetCellTextContainerByKey method that allows you to get an HTML element in the DOM tree where the data cell content is located.

To specify whether a data item template should be overwritten in a data cell when its editing is completed, use the GridBatchEditSettings.AllowRegularDataItemTemplate property.

See Also