ClassGridRowDropEventArgs<TItem>
The class that describes the event arguments to the grid row drop event.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
Syntax:
public class GridRowDropEventArgs<TItem> : EventArgs
Inheritance: objectEventArgsGridRowDropEventArgs<TItem>
Inherited Members
Constructors
GridRowDropEventArgs()
Declaration
public GridRowDropEventArgs()
Properties
DestinationComponentId
Unique identifier of the component that received the dropped rows. Used to distinguish between different drop targets.
Declaration
public string DestinationComponentId { get; set; }
Property Value
DestinationGrid
Reference to the Grid component where the rows are being dropped. Essential for cross-grid drag and drop operations.
Declaration
public TelerikGrid<TItem> DestinationGrid { get; set; }
Property Value
TelerikGrid<TItem>
DestinationIndex
String representation of the target position index within the destination component. Format depends on the specific component implementation.
DestinationItem
The data item at the drop target location where the dragged rows will be positioned. Null if dropping at the end of the list.
Declaration
public TItem DestinationItem { get; set; }
Property Value
TItem
DropPosition
Whether the dragged rows should be inserted before or after the destination item. Use Before to insert dragged rows above the target row, After to insert below the target row, or Over to replace or merge with the target row.
Declaration
public GridRowDropPosition DropPosition { get; set; }
Property Value
Item
The primary data item from the row that was dropped. This is the main item being moved in the drag and drop operation.
Declaration
public TItem Item { get; set; }
Property Value
TItem
Items
All data items that were dragged together, including the primary item. Use this when multiple rows are selected and dragged simultaneously.
Declaration
public IEnumerable<TItem> Items { get; set; }
Property Value
IEnumerable<TItem>