Class CommandClickEventArgs<T>
Provides information about an CommandClicked event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class CommandClickEventArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component. |
Constructors
CommandClickEventArgs()
Declaration
public CommandClickEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the CUD("Create", "Update", and "Delet") actions in grid when command column is clicked.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
CommandColumn
Gets the current CommandModel of the command column.
Declaration
public CommandModel CommandColumn { get; }
Property Value
Type | Description |
---|---|
CommandModel | The CommandModel representing the current command column. |
EditedData
Gets the modified row data associated with the row being updated using a command column.
Declaration
public T EditedData { get; set; }
Property Value
Type | Description |
---|---|
T | An object of type T representing the modified data of the row being updated using a command column. |
Remarks
This property returns null when the Command Column operation is either edited, deleted, or canceled. If the user modifies the data but decides to cancel the operation, the modified data will remain accessible through this property.
RowData
Gets the row data of the current command column.
Declaration
public T RowData { get; }
Property Value
Type | Description |
---|---|
T | The row data of type T associated with the current command column. |
Target
Defines the current target element.
Declaration
public DOM Target { get; set; }
Property Value
Type |
---|
DOM |