menu

Blazor

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

    Show / Hide Table of Contents

    Class RowSelectEventArgs<T>

    Provides information about the RowSelected event.

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

    TValue of the grid component.

    Constructors

    RowSelectEventArgs()

    Declaration
    public RowSelectEventArgs()

    Properties

    Data

    Gets the row data of the first selected row, when multiple rows are selected.

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

    The row data of the first selected row.

    Datas

    Gets the collection of row data that is currently selected.

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

    A collection of selected row data.

    Remarks

    When binding remote data, the select all action using checkbox selection only returns the data of rows in the current view. When binding list data, if PersistSelection is disabled, the select all action using checkbox selection only returns 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 this 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 column name and a collection of the associated row data for the column.

    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.

    PreviousRowIndex

    Gets the index of the previously selected row.

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

    An integer value representing the index of the previously selected row.

    RowIndex

    Gets the index of the selected row.

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

    An integer value representing the index of the selected row.

    RowIndexes

    Gets the collection of selected row indexes.

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

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

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