Skip to content

SelectionMode

Selection mode for the grid.

Each mode offers different selection behavior suited to different use cases:

ModeUse CaseBehavior
'cell'Spreadsheet-style editingSingle cell focus. Click to select one cell at a time.
'row'Record-based operationsFull row selection. Click anywhere to select the entire row.
'range'Bulk operations, exportRectangular selection. Drag or Shift+Click to select ranges.
type SelectionMode = "cell" | "row" | "range"
// Cell mode (default) - for spreadsheet-like interaction
new SelectionPlugin({ mode: 'cell' })
// Row mode - for selecting complete records
new SelectionPlugin({ mode: 'row' })
// Range mode - for bulk copy/paste operations
new SelectionPlugin({ mode: 'range' })
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