Class GridRowDropSettings
Configures grid row drag and drop.
Inheritance
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridRowDropSettings : OwningComponentBase
Constructors
GridRowDropSettings()
Declaration
public GridRowDropSettings()
Properties
AllowEmptyAreaDrop
Gets or sets a value that enables dropping rows into empty areas of the grid content during drag-and-drop operations.
Declaration
public bool AllowEmptyAreaDrop { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether rows can be dropped into blank areas within the grid content.
The default value is |
Remarks
When set to true
, users can drop rows not only above or below existing rows,
but also into empty spaces within the grid. If the grid contains rows and a row is dropped into an empty area,
it will be appended as the last row in the grid.
When set to false
, dropping is restricted to valid drop indicators displayed between rows only.
This setting applies to row reordering both within the grid and outside the grid.
TargetID
Defines the ID of droppable component on which row drop should occur.
Declaration
public string TargetID { get; set; }
Property Value
Type |
---|
System.String |
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |