Skip to content

SelectionChangeDetail

Since v0.1.1

Unified event detail emitted when selection changes (all modes). Provides a consistent structure for consumers to handle selection state.

PropertyTypeDescription
modeSelectionMode | SelectionMode[]The selection mode (or modes) configured on the plugin. Echoes SelectionConfig.mode.
activeAxisSelectionAxisThe axis that owns the current selection. In array-mode, this flips between 'row' and 'column' as the user activates each axis. 'none' when nothing is selected. v2.8.0+
rangesCellRange[]Selected cell ranges. For cell mode, contains a single-cell range. For row mode, contains full-row ranges. Empty when the active axis is 'column'.
selectedColumnsreadonly string[]Field names of selected columns (column axis only). Empty when the active axis is row/cell/range. v2.8.0+
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt