API REFERENCE
SyGridRowDragEventDetail
Fields, allowed values, and APIs that use SyGridRowDragEventDetail.
Type definition
A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.
export interface SyGridRowDragEventDetail {
readonly dragId: string;
readonly item: SyGridRowDragItem;
readonly target: SyGridRowDragTarget | null;
readonly insertionIndex: number | null;
readonly stale?: boolean;
readonly keyboard: boolean;
}APIs using this type
- rowDragEnter
Emitted when a row drag enters a target area.
- rowDragMove
Emitted during row dragging. Avoid expensive save operations on every high-frequency event.
- rowDragLeave
Emitted when a row drag leaves an area. Different from drag completion.