View as Markdown

API reference

@salmonui/data-grid/engine/row-drag-drop

34 exported symbols: 6 functions, 9 interfaces, 18 types and 1 constant. Each name links its page with the signature, docs and members. Names re-exported from 2 other entry points are listed there, linked below.

import { … } from '@salmonui/data-grid/engine/row-drag-drop';

Functions

  • computeDropPointDrop point for a pointer at fraction (0..1) of the height of visible row index: the upper half of a data row is before, the lower half after; a group caption i…
  • createRowDragDropModuleCreates the rowDragDrop module. Options are read from options.rowDragDrop (RowDragDropOptions).
  • isPinnedIndexTrue for a visible index among the pinned rows, which head the model. Pinned rows are neither drag sources nor drop targets: their place comes from pinning and…
  • resolvePlacementData placement of a drop point: a data row id and before / after; null when the group is empty or unknown.

Types

Re-exported entry points