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

🐛 expandDepth is not working in custom directory #2896

Closed
4 tasks
maxchiang24 opened this issue Sep 12, 2024 · 3 comments · Fixed by #2895
Closed
4 tasks

🐛 expandDepth is not working in custom directory #2896

maxchiang24 opened this issue Sep 12, 2024 · 3 comments · Fixed by #2895
Assignees
Labels

Comments

@maxchiang24
Copy link

maxchiang24 commented Sep 12, 2024

🏷 Version

Package Version
@antv/s2 ^2.0.0-next.24
@antv/s2-react ^2.0.0-next.23
@antv/s2-vue

Sheet Type

  • ✅ PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

透视表树形展示的时候希望能指定展开层级,按照官方文档使用expandDepth配置在自定义目录场景没有生效

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

在官方示例,加上下面这段配置即可复现

style: {
    rowCell: {
      expandDepth: 0,
    }
  }

https://s2.antv.antgroup.com/examples/layout/custom-header-group#custom-tree

😊 Expected Behavior

如代码所示,期望仅展开第0层,下面的层级收起

😅 Current Behavior

并没有按预期展开收起相应层级

💻 System information

Environment Info
System
Browser
Copy link
Contributor

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

Hello, @maxchiang24, 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.0.0-next.28 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

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

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