SpreadsheetCellEditContext Class

Provides context for custom cell editors in a spreadsheet.

Inheritance

Object

Spreadsheet.SpreadsheetCellRenderContext

Spreadsheet.SpreadsheetCellEditContext

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class SpreadsheetCellEditContext : Spreadsheet.SpreadsheetCellRenderContext

Methods

CancelLink to this section

Cancels the current edit operation.

Declaration
public void Cancel()

CommitAsyncLink to this section

Commits the edited value to the cell. The value is converted to a string with the workbook culture (the same culture the commit re-parses with) and applied through the undo/redo system.

Declaration
public Task CommitAsync(object value)
Parameters
Type Name Description
object value
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙