Class RowSelectEventArgs<T>
Provides information about the RowSelected event.
Inherited Members
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 |
---|
System.Boolean |
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 |
|
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 |
|
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 |
|
IsShiftPressed
Gets a boolean value indicating whether the SHIFT key is currently pressed.
Declaration
public bool IsShiftPressed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PreviousRow
Defines the previously selected row.
Declaration
public DOM PreviousRow { get; }
Property Value
Type |
---|
DOM |
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. |
Row
Defines the selected/deselected row.
Declaration
public DOM Row { get; }
Property Value
Type |
---|
DOM |
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. |
Target
Defines the target element for selection.
Declaration
public DOM Target { get; }
Property Value
Type |
---|
DOM |