从动态列的数据表中引用数据导出器 [英] Primefaces data exporter from data table with dynamic columns
问题描述
有没有人使用原始数据导出器组件成功地使用带有动态列的原型datatable?
在我的情况下,它会生成excel文件,但它是空的。 >
但是,如果我保持一切正常的datatable而不是datatable与动态列,生成的excel文件不为空。
我试图看看有人是否已经做到了这一点。
< p:dataExporter />
和
< p:dataTable /> //(带动态列)
如果我不使用动态列,它可以正常工作。 / p>
我正在使用PrimeFaces 2.2.1,JSF 2.0,poi-3.2-FINAL.jar。
抱歉,目前不支持 dataExporter
组件。
Cagatay Civici,Primefaces项目的首席开发人员。
Has anyone used primefaces data exporter component successfully with primefaces datatable with dynamic columns?
In my case, it generates the excel file but it is empty.
But if I keep everything same and just normal datatable instead of datatable with dynamic columns, the generated excel file is not empty.
I am trying to see if somebody has done this.
<p:dataExporter />
and
<p:dataTable /> //(with dynamic columns)
It works fine if I don't use the dynamic columns.
I am using PrimeFaces 2.2.1, JSF 2.0, poi-3.2-FINAL.jar.
Sorry but this is not currently supported for the dataExporter
component.
http://forum.primefaces.org/viewtopic.php?f=3&t=12133&p=38149&hilit=dataExporter+dynamic#p38149
This is coming straight from Cagatay Civici, lead developer on the Primefaces project.
这篇关于从动态列的数据表中引用数据导出器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!