Skip to content

Commit

Permalink
fix: pivotChart not use frozenColCount setting
Browse files Browse the repository at this point in the history
  • Loading branch information
fangsmile committed Mar 19, 2024
1 parent e7638ae commit ce813cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vtable/src/state/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ export class StateManager {
const originalFrozenColCount =
this.table.isListTable() && !this.table.internalProps.transpose
? this.table.options.frozenColCount
: this.table.isPivotChart()
? this.table.rowHeaderLevelCount ?? 0
: Math.max(
(this.table.rowHeaderLevelCount ?? 0) + this.table.internalProps.layoutMap.leftRowSeriesNumberColumnCount,
this.table.options.frozenColCount ?? 0
Expand Down

0 comments on commit ce813cf

Please sign in to comment.