开发者

Primefaces data exporter from data table with dynamic columns

开发者 https://www.devze.com 2023-03-27 11:54 出处:网络
Has anyone used primefaces data exporter component successfully with primefaces datatable with dynamic columns?

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 ev开发者_Python百科erything 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消