View as Markdown

API reference: @salmonui/data-grid/engine/row-drag-drop

RowDragEndCommandtype

import type { RowDragEndCommand } from '@salmonui/data-grid/engine/row-drag-drop';
type RowDragEndCommand = {
    type: 'rowDragDrop.end';
    dropped?: boolean;
    targetGridId?: string;
};

Ends the drag; dropped: true with another targetGridId removes the rows from this grid.

RowDragEndCommand members (3)
NameSignatureDescription
typetype: 'rowDragDrop.end';
droppedoptionaldropped?: boolean;
targetGridIdoptionaltargetGridId?: string;