Class RowUpdatedEventArgs<T>
Provides information about the RowUpdated event.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class RowUpdatedEventArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component. |
Constructors
RowUpdatedEventArgs()
Declaration
public RowUpdatedEventArgs()
Properties
Data
Gets or sets the data of the row associated with updating in the grid.
Declaration
public T Data { get; set; }
Property Value
Type | Description |
---|---|
T | A |
Index
Gets the row index of the row associated with updating.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The row index of the updating row. By default, the value is 0. |
Remarks
The value of this property can be used to identify which row in a collection or data source is being saved.
PreviousData
Gets the previous data of the row.
Declaration
public T PreviousData { get; }
Property Value
Type | Description |
---|---|
T | An object of type T that contains the previous data of the row. By default, the value is null. |
PrimaryKeys
Gets the list of the primary key values.
Declaration
public string[] PrimaryKeys { get; }
Property Value
Type | Description |
---|---|
System.String[] | A string array that contains the list of primary key values. |
PrimaryKeyValue
Gets the primary key value of the GridColumn.
Declaration
public object PrimaryKeyValue { get; }
Property Value
Type | Description |
---|---|
System.Object | An object that defines the primary key value of the column when IsPrimaryKey is true, otherwise null. |