Class CellSavedArgs<T>
Provides information about the CellSaved event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class CellSavedArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component. |
Constructors
CellSavedArgs()
Declaration
public CellSavedArgs()
Properties
Cell
Defines the cell object.
Declaration
public DOM Cell { get; set; }
Property Value
Type |
---|
DOM |
CellInfo
Gets or sets the CellDOM object associated with the edited cell.
Declaration
public CellDOM CellInfo { get; set; }
Property Value
Type | Description |
---|---|
CellDOM | The CellDOM object that represents the edited cell. |
Remarks
The CellDOM properties include:
- HasChanges: A boolean property that indicates whether the Cell object associated with the edited cell has changed.
- ClassList: A property that contains the class list of the edited cell.
- Styles: A property that contains the styles of the edited cell.
- AttributeList: A property that contains the attribute list of the edited cell.
- AddClass: A method to add class names to the class list for the current edited cell.
- AddStyle: A method to add styles for the current edited cell.
- SetAttribute: A method to set an attribute for the current edited cell.
Column
Gets the corresponding column associated with the edited cell.
Declaration
public GridColumn Column { get; }
Property Value
Type | Description |
---|---|
GridColumn | A GridColumn associated with the edited cell. |
ColumnName
Gets the Field name of the currently edited cell.
Declaration
public string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String | A string value that represents the field name of the currently edited cell. |
ColumnObject
Gets the corresponding column associated with the edited cell.
Declaration
public GridColumn ColumnObject { get; set; }
Property Value
Type | Description |
---|---|
GridColumn | A GridColumn associated with the edited cell. |
Data
Gets the changed data associated with the currently edited cell.
Declaration
public T Data { get; set; }
Property Value
Type | Description |
---|---|
T | An object of type |
IsForeignKey
Gets the boolean property value indicating whether the edited cell is associated with a foreign key column.
Declaration
public bool IsForeignKey { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The value |
PreviousValue
Gets or sets the previously edited data of the currently edited cell.
Declaration
public object PreviousValue { get; }
Property Value
Type | Description |
---|---|
System.Object | The previous value of the currently edited cell. |
RowData
Gets the original data associated with the currently edited cell for saving.
Declaration
public T RowData { get; }
Property Value
Type | Description |
---|---|
T | An object of type |
Value
Gets or sets the currently edited cell value.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value of the currently edited cell. If the cell is empty or has no value, then the property returns null. |