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

🐛明细表自定义列头分组时,隐藏列后列头显示错误 #3044

Closed
1 of 15 tasks
qianchengjie opened this issue Dec 17, 2024 · 7 comments · Fixed by #3046
Closed
1 of 15 tasks

🐛明细表自定义列头分组时,隐藏列后列头显示错误 #3044

qianchengjie opened this issue Dec 17, 2024 · 7 comments · Fixed by #3046
Assignees
Labels

Comments

@qianchengjie
Copy link

qianchengjie commented Dec 17, 2024

🏷 S2 Version / S2 版本

Package Version
@antv/s2
@antv/s2-react
@antv/s2-react-components

💻 Sheet Type / 表格类型

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Describe the bug / 问题描述

明细表自定义列头分组时,隐藏列后列头显示错误,会有空白出现
image

⌨️ Code Snapshots / 代码片段

https://codesandbox.io/p/sandbox/clever-orla-n7lqf4?workspaceId=ws_8oNxnxhUCJz2Dk1z7Gf7rk

🔗 Reproduction link / 复现链接

https://codesandbox.io/p/sandbox/clever-orla-n7lqf4?workspaceId=ws_8oNxnxhUCJz2Dk1z7Gf7rk

📋 Steps to Reproduce the Bug or Issue / 重现步骤

隐藏分组的叶子节点的第一个节点

😊 Expected Behavior / 期望行为

不显示空白

😅 Current Behavior / 当前行为

会显示空白

💻 OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

🌏 Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他
Copy link
Contributor

你好 @qianchengjie:

提 Issue 须知

⚠️ 在提出问题前,请确保你已经仔细阅读👓/搜索🔍过 官方文档常见问题 以及 图表示例, 并且已经搜索查阅过相关 Issues 列表Discussions 列表. 当你确定自己的问题没有解决方案时,请提交 issue。 ⚠️

如果是使用问题,不知道怎么用,移步 Discussions 讨论区 并提供 有效信息 进行 提问

参与社区共建

这是一个开源项目, 我们也有繁忙的业务要做, 是用自己的业余时间在维护, 为爱发电, 精力有限, 所以有时候 issue 响应速度不是那么及时, 如果你遇到了问题, 或者对 IssuesDiscussions 列表的问题感兴趣, 可以直接认领并尝试修复 (贡献指南),帮助 S2 变得更好, 而不是一味的埋怨和催促, 我们不是甲方乙方的关系.

Copy link

在 antvis/S2 的问题列表中,我找到了一个可能与您描述的问题相关的 issue:

  • Issue #2199: 明细表在有冻结列和列分组的情况下,列头文本不居中的现象。

您可以查看这个 issue,看看是否与您遇到的问题相符。如果有帮助,您可以在该 issue 下进行讨论或提供更多信息。

如果您有其他问题或需要进一步的帮助,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

Copy link

在 antvis/S2 的问题库中,我找到了几个可能相关的问题,但没有找到完全匹配的已知问题。以下是一些相关的问题链接,您可以查看是否与您的问题相似:

  1. Issue #2199 - 明细表: 当有冻结列 + 列分组的情况下, 会出现列头文本不居中现象
  2. Issue #2308 - next版本,透视表的列头存在分组时导出CSV数据存在空缺

如果这些问题与您的情况不符,您可以尝试在代码中进行一些调试,或者在 GitHub 上提交一个新的问题以获得进一步的支持。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@lijinke666
Copy link
Member

开启序号列导致的, 看起来是和多级列头有点兼容问题, 可以先临时关闭, 近期排查下, 感兴趣也可以 PR.

seriesNumber: {
  enable: false
}

@lijinke666 lijinke666 self-assigned this Dec 17, 2024
@lijinke666 lijinke666 added the 🐛 bug 这个是一个 bug label Dec 17, 2024
Copy link
Contributor

你好 @qianchengjie,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @qianchengjie, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v2.1.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v2.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants