menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BeforeBatchDeleteArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BeforeBatchDeleteArgs<T>

    Provides information about an OnBatchDelete event.

    Inheritance
    System.Object
    GridEventBaseArgs
    BeforeBatchDeleteArgs<T>
    Inherited Members
    GridEventBaseArgs.PreventRender
    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 false. If the Cancel property is set to true, then the before batch delete action will be cancelled.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved