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

🤔S2-2.0版本明细表列头分组后导出的格式和表格的格式不一致,如何能保持表头和CSV导出的一致 #2664

Closed
3 tasks
Zhaohanqi12 opened this issue Apr 18, 2024 · 12 comments
Assignees
Labels
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 ❔question 疑问/使用问题 released on @next

Comments

@Zhaohanqi12
Copy link

🏷 Version

Package Version
@antv/s2 2.0
@antv/s2-react next
@antv/s2-vue

Sheet Type

  • [√ ] PivotSheet
  • [√ ] TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

S2明细表列头分组后表格的样式
image
S2明细表列头分组后导出的excel样式
image

😊 Expected Behavior

😅 Current Behavior

@Zhaohanqi12 Zhaohanqi12 added the ❔question 疑问/使用问题 label Apr 18, 2024
@lijinke666 lijinke666 self-assigned this Apr 18, 2024
@lijinke666 lijinke666 added the 🤔 need reproduce 需要一个在线复现链接 label Apr 18, 2024
Copy link
Contributor

你好 @Zhaohanqi12,请提供一个可以在线访问的链接, 或者使用 codesandbox 提供示例并详细说明复现步骤 (查看更多模板), 15 天内未回复issue自动关闭。

Hello, @Zhaohanqi12, please provide an accessible link or usage codesandbox to describe the reproduction steps (more template). The issue will be closed without any replay within 15 days.

@Zhaohanqi12
Copy link
Author

自带的导出功能有问题,https://s2.antv.antgroup.com/examples/interaction/basic/#copy-export
使用自定义的导出,但是明细表有表头的列分组,现有的表头结构
image
导出的excel表头
image
想实现的效果
image

@github-actions github-actions bot removed the 🤔 need reproduce 需要一个在线复现链接 label Apr 18, 2024
@Zhaohanqi12 Zhaohanqi12 changed the title 🤔S2明细表列头分组后导出的格式和表格的格式不一致,如何能保持表头和excel导出的一致 🤔S2-2.0版本明细表列头分组后导出的格式和表格的格式不一致,如何能保持表头和CSV导出的一致 Apr 18, 2024
@Zhaohanqi12
Copy link
Author

https://codesandbox.io/p/sandbox/flamboyant-greider-z9zhfg?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clv60mghm0006356fa4tre6sm%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clv60mghm0002356fa5ie1obs%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clv60mghm0003356f7n5wcapz%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clv60mghm0005356fbn7wcbn2%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clv60mghm0002356fa5ie1obs%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clv60mghm0001356f2s364nkk%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Findex.ts%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clv60mghm0002356fa5ie1obs%2522%252C%2522activeTabId%2522%253A%2522clv60mghm0001356f2s364nkk%2522%257D%252C%2522clv60mghm0005356fbn7wcbn2%2522%253A%257B%2522id%2522%253A%2522clv60mghm0005356fbn7wcbn2%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522id%2522%253A%2522clv612h6w00ty356f2qxv8zkd%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clv612h6w00ty356f2qxv8zkd%2522%257D%252C%2522clv60mghm0003356f7n5wcapz%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clv60mghm0003356f7n5wcapz%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

@lijinke666
Copy link
Member

下周处理该问题, 看起来是 BUG

@Zhaohanqi12
Copy link
Author

下周处理该问题, 看起来是 BUG

默认导出功能可以修复和1.5版本的就好了

@lijinke666 lijinke666 added the 🐛 bug 这个是一个 bug label Apr 22, 2024
Copy link
Contributor

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

Hello, @Zhaohanqi12, 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.

@wozien
Copy link

wozien commented Apr 22, 2024

mark

@Zhaohanqi12
Copy link
Author

本地该如何处理?

lijinke666 added a commit that referenced this issue Apr 25, 2024
fix: 修复明细表自定义列头导出格式错误 close #2664
@lijinke666
Copy link
Member

fixed #2674

@lijinke666
Copy link
Member

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

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.17 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Zhaohanqi12
Copy link
Author

Zhaohanqi12 commented Apr 28, 2024 via email

@lijinke666 lijinke666 added the next 2.0-next 版本的问题 label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 ❔question 疑问/使用问题 released on @next
Projects
None yet
Development

No branches or pull requests

3 participants