View as Markdown

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

RowDragSettledCommandtype

import type { RowDragSettledCommand } from '@salmonui/data-grid/engine/row-drag-drop';
type RowDragSettledCommand = {
    type: 'rowDragDrop.settled';
    id: number;
    status: 'applied' | 'rejected' | 'error';
    reason?: string | null;
};

A row move write settled (dispatched by the engine; part of the public command union).

RowDragSettledCommand members (4)
NameSignatureDescription
typetype: 'rowDragDrop.settled';
idid: number;
statusstatus: 'applied' | 'rejected' | 'error';
reasonoptionalreason?: string | null;