Provides context for custom cell editors in a spreadsheet.
Namespace: Radzen.Blazor.Spreadsheet
Assembly: Radzen.Blazor.dll
public class SpreadsheetCellEditContext : Spreadsheet.SpreadsheetCellRenderContextGets or sets the text being edited. Editing started with F2 or a double-click begins with the cell's value as shown in the formula bar; editing started by typing begins with the typed text. Update it as the user types: when the user moves to another cell, the spreadsheet commits this text.
public string Value { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the text being edited. Editing started with F2 or a double-click begins with the cell's value as shown in the formula bar; editing started by typing begins with the typed text. Update it as the user types: when the user moves to another cell, the spreadsheet commits this text. |
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.
public Task CommitAsync(object value)
| Type | Name | Description |
|---|---|---|
| object | value |
| Type | Description |
|---|---|
| Task |