@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?
optionalcolumnWidths?:Record<string,number>
expandedColPaths?
optionalexpandedColPaths?:string[]
expandedPaths?
optionalexpandedPaths?:string[]
fields?
optionalfields?:unknown[]
layout?
optionallayout?:Partial<PivotLayoutState>
parts?
optionalparts?: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?
optionalscroll?:object
SESSION state, only when asked for (include: ['scroll']): the body's scroll offsets.
left
left:
number
top
top:
number
version?
optionalversion?:number