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
public GridRowDropEventArgs()
Properties
Unique identifier of the component that received the dropped rows. Used to distinguish between different drop targets.
public string DestinationComponentId { get; set; }
DestinationGrid
TelerikGrid<TItem>
Reference to the Grid component where the rows are being dropped. Essential for cross-grid drag and drop operations.
public TelerikGrid<TItem> DestinationGrid { get; set; }
String representation of the target position index within the destination component. Format depends on the specific component implementation.
public string DestinationIndex { get; set; }
DestinationItem
TItem
The data item at the drop target location where the dragged rows will be positioned. Null if dropping at the end of the list.
public TItem DestinationItem { get; set; }
Item
TItem
The primary data item from the row that was dropped. This is the main item being moved in the drag and drop operation.
public TItem Item { get; set; }
Items
IEnumerable<TItem>
All data items that were dragged together, including the primary item. Use this when multiple rows are selected and dragged simultaneously.
public IEnumerable<TItem> Items { get; set; }