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

dataTables导出excel,复杂表头显示不全 #380

Closed
SXJ13674930837 opened this issue Aug 1, 2018 · 2 comments
Closed

dataTables导出excel,复杂表头显示不全 #380

SXJ13674930837 opened this issue Aug 1, 2018 · 2 comments

Comments

@SXJ13674930837
Copy link

SXJ13674930837 commented Aug 1, 2018

表格是复杂表头,合并后的单元格在页面显示正确,但是导出表格时,显示不全,在excel中取消合并单元格数据可以展示,其中,第一行的colspan是动态的,第二行的pm10/pm25/co等是动态渲染出来的,各位大神怎么解决?请大神指点!

a4fef0e4-64a0-437a-ab12-2b9ed0f330b5

@occultskyrong
Copy link
Collaborator

occultskyrong commented Aug 30, 2018

这大概是官方的回应。。。

https://datatables.net/forums/discussion/comment/138174/#Comment_138174

原文如下

No - the is no workaround (other than adding the feature and submitting it as a pull request :)).
Currently, yes, you need to wait until I get a chance to work on this.

你可以根据底下抛出的答案来实现下

rstudio/DT#418

@occultskyrong
Copy link
Collaborator

已归档到#356

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

No branches or pull requests

2 participants