Skip to content

RowReorderConfig

Configuration options for the RowReorderPlugin.

PropertyTypeDescription
enableKeyboard?booleanEnable keyboard shortcuts (Ctrl+Up/Down) for moving rows.
showDragHandle?booleanShow a drag handle column for drag-and-drop reordering.
dragHandlePosition?left | rightPosition of the drag handle column.
dragHandleWidth?numberWidth of the drag handle column in pixels.
canMove?(row: T, fromIndex: number, toIndex: number, direction: up | down) => booleanValidation callback to determine if a row can be moved. Return false to prevent the move.
debounceMs?numberDebounce time in milliseconds for rapid keyboard moves. Events are batched and emitted after this delay.
animation?false | flipAnimation type for row movement. - false: No animation, instant reorder - 'flip': FLIP animation (slides rows smoothly)

Default: true


Default: true


Default: 'left'


Default: 40


Default: 150


Default: 'flip'


AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt