menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRowDropSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridRowDropSettings

    Configures grid row drag and drop.

    Inheritance
    System.Object
    GridRowDropSettings
    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 true.

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved