简体   繁体   English

js.devexpress.com dxDataGrid如何使用自定义标头导出到Excel?

[英]How js.devexpress.com dxDataGrid export to excel with custom header?

I am trying to export js.devexpress.com dxDataGrid in excel with custom header but no result. 我正在尝试使用自定义标头在excel中导出js.devexpress.com dxDataGrid ,但没有结果。 I just want to insert one top row with some details like company name but not found any solution. 我只想在第一行插入一些详细信息,例如公司名称,但未找到任何解决方案。

Export to excel demo : js.devexpress.com dxDataGrid Demo . 导出到excel演示: js.devexpress.com dxDataGrid演示

Is anyone deal with this? 有人处理吗?

Thanks in advance. 提前致谢。

unfortunately, as of now (2016-10-08) DevExtreme suite doesn't support customized export of dxDataGrid to Excel, neither custom headers nor custom cell formatting are supported. 不幸的是,截至目前(2016-10-08),DevExtreme套件不支持将dxDataGrid自定义导出到Excel,既不支持自定义标头也不支持自定义单元格格式。

See https://www.devexpress.com/Support/Center/Question/Details/T430687 . 请参阅https://www.devexpress.com/Support/Center/Question/Details/T430687

You could insert custom header into exported Excel doc as well as have control over individual cell formatting if you were using their other grid control ASPxGridView, but it requires your app to use ASP.NET. 您可以将自定义标头插入导出的Excel文档中,也可以控制单个单元格的格式(如果您使用的是其他网格控件ASPxGridView),但是您的应用程序必须使用ASP.NET。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM