Class RowDeselectEventArgs<T>
Provides information about the RowDeselecting event. Also, provides information about the RowDeselected event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class RowDeselectEventArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component. |
Constructors
RowDeselectEventArgs()
Declaration
public RowDeselectEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the deselection of the row.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
Data
Gets the row data associated with the currently deselecting or deselected row in a grid.
Declaration
public T Data { get; }
Property Value
Type | Description |
---|---|
T | An object of type |
Datas
Gets the collection of row data while perform the deselecting action.
Declaration
public List<T> Datas { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T> | A collection of row data which is associate with clear the multiple selection. |
Remarks
When binding remote data, unselect-all action using checkbox returns only the data of rows in the current view. When binding list data, if PersistSelection is disabled then unselect-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 deselected/deselecting row.
Declaration
public MouseEventArgs Event { get; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.Web.MouseEventArgs |
ForeignKeyData
Gets the foreignkey row data associated with the currently deselecting or deselected row in a grid.
Declaration
public IDictionary<string, IEnumerable<object>> ForeignKeyData { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IEnumerable<System.Object>> | An object representing the foreignkey row data associated with the currently deselecting or deselected row in a grid. |
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 |
|
Row
Defines the selected/deselected row.
Declaration
public DOM Row { get; set; }
Property Value
Type |
---|
DOM |
RowIndex
Gets the row index associated with the deselecting action.
Declaration
public int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The row index that is associated with the deselecting action. |
Remarks
If multiple rows are selected and an attempt is made to clear the selection, this property will return the index of the last row that was deselected.
RowIndexes
Gets the collection of row indexes associated with the deselecting action.
Declaration
public List<int> RowIndexes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> | A collection of row indexes that are associated with the deselecting action. |
Remarks
This property returns only the indexes of the rows that are currently visible in the view, even if the user attempts to unselect all rows using a checkbox selection.
Target
Defines the target element for row deselect.
Declaration
public DOM Target { get; set; }
Property Value
Type |
---|
DOM |