Skip to content

feat: support grouped grand totals by dimension - #5302

Open
fangsmile wants to merge 9 commits into
developfrom
feat/issue-5272
Open

feat: support grouped grand totals by dimension#5302
fangsmile wants to merge 9 commits into
developfrom
feat/issue-5272

Conversation

@fangsmile

Copy link
Copy Markdown
Contributor

Summary

  • add grandTotalDimensions to group grand totals by lower-level row or column dimensions while preserving the existing behavior when omitted
  • keep grouped and overall totals correct after sorting and cell edits
  • add row/column regression coverage and update the bilingual API, guide, and demo documentation

Closes #5272

Test plan

  • Run the complete @visactor/vtable test suite (71 suites, 307 tests)
  • Run the pre-push package test suite
  • Run compile, lint-staged, commitlint, and whitespace checks
  • Verify the updated pivot total demo locally

🤖 Generated with Claude Code

Allow pivot grand totals to retain lower-level dimensions.
Preserve existing behavior when the option is omitted.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Isolate grouped total keys from display labels.
Cover edge cases introduced by grandTotalDimensions.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Handle grouped totals across chart paths, custom edits, and indicator sorting.
Support external totals and grid-tree lookup.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Keep nested totals and chart ranges consistent after edits.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Keep grouped grand total paths available to PivotChart data lookup.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Preserve chart ranges and header spans for grouped grand totals.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Use filtered records and ordered internal paths so grouped totals retain
correct dimensions, chart ranges, custom values, and tree cell lookups.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Retain legacy value-only tree matching while using ordered internal values
for grouped grand total header paths.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 总合计行按维度小计功能

1 participant