Class
GridSelectionSettings

The component that configures the Grid selection settings.

Definition

Constructors

GridSelectionSettings()

Declaration

cs-api-definition
public GridSelectionSettings()

Properties

DragToSelect

Enables selection by dragging mouse over cells or rows. When enabled, users can select multiple items by clicking and dragging.

Declaration

cs-api-definition
[Parameter]
public bool DragToSelect { get; set; }

Property Value

bool

SelectionType

Determines whether users can select entire rows or individual cells. Use Row to allow selecting complete rows for bulk operations, or Cell to enable selecting individual cells for precise data manipulation. Cell selection is not compatible with incell editing mode (Incell).

Declaration

cs-api-definition
[Parameter]
public GridSelectionType SelectionType { get; set; }

Property Value

GridSelectionType

Methods

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)