Class RowSelectingEventArgs<T>
Provides information about the RowSelecting event.
Inherited Members
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
Defines the cancel option value.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Data
Gets the row data going to be selected.
Declaration
public T Data { get; set; }
Property Value
Type | Description |
---|---|
T | Row data associated with select action. Returns the data of row where selection action started. |
Datas
Gets the collection of row data going to be selected.
Declaration
public List<T> Datas { get; set; }
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
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 row index of record going to be selected.
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 row indexes going to be selected.
Declaration
public List<int> RowIndexes { get; set; }
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 | Description |
---|---|
DOM |