API reference: @salmonui/data-grid/engine
DataGridStateParttype
import type { DataGridStatePart } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid, @salmonui/data-grid/engine/persistence.
type DataGridStatePart = 'columns' | 'pinning' | 'sorting' | 'filters' | 'grouping' | 'paging' | 'search' | 'pinnedRows' | 'tree' | 'selection' | 'scroll';
Persisted parts. tree is read and restored by the tree entry's
wrappers (withTreeState, withTreePersistence in
./tree.js), so grids without tree mode carry none of
it; it is not in DATA_GRID_STATE_PARTS.