@univerjs-pro/engine-pivot v0.5.0-beta.1Docs


Interface: IPivotViewInfo

Represents the pivot view info data structure, which is used to store row /col path and value index

Properties

PropertyTypeDescriptionDefined in
colPathMap?Record<string, number>only for col view, to match some node does not save in node treetypes/layout-type.ts:65
dataFieldId?stringthe data field idtypes/layout-type.ts:73
isBottomTotal?booleanis this row/col is bottom total, in excel, maybe has top total in outline layouttypes/layout-type.ts:57
isValue?booleanthe info is ΣValuetypes/layout-type.ts:69
levelnumberthe node level of row or coltypes/layout-type.ts:61
pathsstring[]The paths of the row/coltypes/layout-type.ts:49
tableFieldIdstringThe pivot table field idtypes/layout-type.ts:45
valueIndexnumberThe value index of the row/coltypes/layout-type.ts:53