ASPxClientSpreadsheet.SetCellEditorText(text) Method

Specifies the editor’s value of the edited cell.

Declaration

SetCellEditorText(
    text: string
): void

Parameters

Name Type Description
text string

A string specifying text received by the cell’s editor.

Remarks

The method passes the text parameter’s value to the active cell’s editor as plain text. You can commit the received value or roll it back using the ASPxClientSpreadsheet.ApplyCellEdit or ASPxClientSpreadsheet.CancelCellEdit methods respectively.

If the cell editor is not activated by an end-user, the method is not in effect. You can indicate when a cell editor is activated by subscribing to the ASPxClientSpreadsheet.CellBeginEdit event.

See Also