Documentation

@kanunilabs/pivotgrid-react


@kanunilabs/pivotgrid-react / PersistedPivotState

Interface: PersistedPivotState

What goes in and out of storage — and what getPersistedState returns and applyPersistedState takes. Plain JSON: store it anywhere.

Properties

columnWidths?

optional columnWidths?: Record<string, number>


expandedColPaths?

optional expandedColPaths?: string[]


expandedPaths?

optional expandedPaths?: string[]


fields?

optional fields?: unknown[]


layout?

optional layout?: Partial<PivotLayoutState>


parts?

optional parts?: Record<string, unknown>

State kept by layers above the core, by name (registerReportStatePart): the Enterprise chart panel keeps its chart under chart, and an app can register its own chart or panel the same way.


scroll?

optional scroll?: object

SESSION state, only when asked for (include: ['scroll']): the body's scroll offsets.

left

left: number

top

top: number


version?

optional version?: number