menu

Blazor

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

    Show / Hide Table of Contents

    Class RowSelectingEventArgs<T>

    Provides information about the RowSelecting event.

    Inheritance
    System.Object
    GridEventBaseArgs
    RowSelectingEventArgs<T>
    Inherited Members
    GridEventBaseArgs.PreventRender
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RowSelectingEventArgs<T> : GridEventBaseArgs
    Type Parameters
    Name Description
    T

    TValue of the grid component.

    Constructors

    RowSelectingEventArgs()

    Declaration
    public RowSelectingEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the selection 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, the row selection action will be cancelled.

    Data

    Gets the data of the row that is going to be selected.

    Declaration
    public T Data { get; }
    Property Value
    Type Description
    T

    The data of the row associated with the selection action.

    Remarks

    This property returns the data of the row that is going to be selected in a grid.

    Datas

    Gets the collection of row data going to be selected.

    Declaration
    public List<T> Datas { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<T>

    A collection of row data going to be selected.

    Remarks

    When binding remote data, select all action using checkbox selection returns only the data of rows in the current view. When binding list data, if PersistSelection is disabled then select all action using checkbox returns only the data of rows in the current view.

    Event

    Gets the Microsoft.AspNetCore.Components.Web.MouseEventArgs of the currently selected row.

    Declaration
    public MouseEventArgs Event { get; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.Web.MouseEventArgs

    ForeignKeyData

    Gets the foreign key row data associated with a grid foreign key column.

    Declaration
    public IDictionary<string, IEnumerable<object>> ForeignKeyData { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IEnumerable<System.Object>>

    A dictionary containing the foreign key row data.

    IsCtrlPressed

    Gets a boolean value indicating whether the CTRL key is currently pressed.

    Declaration
    public bool IsCtrlPressed { get; }
    Property Value
    Type Description
    System.Boolean

    true if the CTRL key is currently pressed; otherwise, false.

    IsHeaderCheckboxClicked

    Gets a boolean value indicating whether the header checkbox was clicked or not.

    Declaration
    public bool IsHeaderCheckboxClicked { get; }
    Property Value
    Type Description
    System.Boolean

    true if the header checkbox was clicked; otherwise, false.

    IsInteracted

    Gets a boolean value indicating whether the event was triggered by user interaction or not.

    Declaration
    public bool IsInteracted { get; }
    Property Value
    Type Description
    System.Boolean

    true if the event was triggered by user interaction; otherwise, false.

    IsShiftPressed

    Gets a boolean value indicating whether the SHIFT key is currently pressed.

    Declaration
    public bool IsShiftPressed { get; }
    Property Value
    Type Description
    System.Boolean

    true if the SHIFT key is currently pressed; otherwise, false.

    PreviousRow

    Defines the previously selected row.

    Declaration
    public DOM PreviousRow { get; set; }
    Property Value
    Type
    DOM

    PreviousRowIndex

    Gets the index of the previously selected row.

    Declaration
    public int PreviousRowIndex { get; }
    Property Value
    Type Description
    System.Int32

    The index of the previously selected row.

    Row

    Defines the selected/deselected row.

    Declaration
    public DOM Row { get; set; }
    Property Value
    Type
    DOM

    RowIndex

    Gets the index of the row that is going to be selected.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32

    The index of the row that is going to be selected.

    RowIndexes

    Gets the collection of row indexes going to be selected.

    Declaration
    public List<int> RowIndexes { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    A collection of row indexes going to be selected. Returns only the indexes of the rows in current view, even though user selects all the rows using checkbox selection.

    Target

    Defines the target element for selection.

    Declaration
    public DOM Target { get; set; }
    Property Value
    Type
    DOM
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved