Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤔 透视表树模式自定义列总计展示异常 #2892

Open
1 of 5 tasks
ggcfcmd opened this issue Sep 11, 2024 · 1 comment
Open
1 of 5 tasks

🤔 透视表树模式自定义列总计展示异常 #2892

ggcfcmd opened this issue Sep 11, 2024 · 1 comment
Labels
💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 ❔question 疑问/使用问题

Comments

@ggcfcmd
Copy link

ggcfcmd commented Sep 11, 2024

🏷 Version

Package Version
@antv/s2 1.55.6
@antv/s2-react 1.47.0
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

  1. 目前透视表列总计采用自定义函数的形式,即链接中的calcFunc函数,树模式下总计计算结果异常,并且打印calcFunc函数中的spreadsheet字段值为空
    image

🔗 Reproduce Link

https://codesandbox.io/p/sandbox/thirsty-surf-r6m5jr?file=%2Findex.ts%3A16%2C39
透视表配置项如链接所示(链接的渲染和项目本地实际渲染结果不同,所以仅用来参考配置,实际效果我会额外截图)

😊 Expected Behavior

树模式下列总计可以正常展示

😅 Current Behavior

树模式下列总计展示异常

@ggcfcmd ggcfcmd added the ❔question 疑问/使用问题 label Sep 11, 2024
Copy link
Contributor

你要找的是不是 (You may look for issues):

  1. 85% 🤔透视表:合并分组排序问题 #2888

@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 ❔question 疑问/使用问题
Projects
None yet
Development

No branches or pull requests

1 participant