Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RowSelectEventArgs<T>

    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

    Cancel

    Defines the cancel option value.

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

    Data

    Gets the selected row data.

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

    The row data of the first selected row, when we selecting the multiple rows.

    Datas

    Gets the collection of selected row data.

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

    Selected row data collection.

    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

    Defines the Mouse Event.

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

    ForeignKeyData

    Define the foreignKey row data associated with this column.

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

    IsCtrlPressed

    Defines whether CTRL key is pressed.

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

    IsHeaderCheckboxClicked

    Defines whether header checkbox is clicked or not.

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

    IsInteracted

    Defines whether event is triggered by interaction or not.

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

    IsShiftPressed

    Defines whether SHIFT key is pressed.

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

    PreviousRow

    Defines the previously selected row.

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

    PreviousRowIndex

    Defines the previously selected row index.

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

    Row

    Defines the selected/deselected row.

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

    RowIndex

    Gets the selected row index.

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

    Row index associated with select action. Returns the index of row where selection action started.

    RowIndexes

    Gets the collection of selected row indexes.

    Declaration
    public List<int> RowIndexes { get; set; }
    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.

    Target

    Defines the target element for selection.

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