Class BeforeBatchDeleteArgs<T>
Provides information about an OnBatchDelete event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeBatchDeleteArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component. |
Constructors
BeforeBatchDeleteArgs()
Declaration
public BeforeBatchDeleteArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the before batch delete action.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
PrimaryKey
Gets the primary key value of the grid for the columns that have IsPrimaryKey property set to true.
Declaration
public string[] PrimaryKey { get; }
Property Value
Type | Description |
---|---|
System.String[] | A string array that represents the primary key value of the grid. |
Row
Defines the row element.
Declaration
public DOM Row { get; set; }
Property Value
Type |
---|
DOM |
RowData
Gets the data of the selected row to perform batch delete action.
Declaration
public T RowData { get; }
Property Value
Type | Description |
---|---|
T | The data of the selected row. The default value is null. |
RowIndex
Gets the row index of the selected record to perform batch delete action.
Declaration
public int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The row index of the selected record. |
Remarks
When multiple rows are selected and the delete action is performed, the row index property will contain the index of the last selected row that was deleted.