从动态列的数据表中引用数据导出器

编程入门 行业动态 更新时间:2024-10-27 00:32:06
本文介绍了从动态列的数据表中引用数据导出器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有没有人使用原始数据导出器组件成功地使用带有动态列的原型datatable?

在我的情况下,它会生成excel文件,但它是空的。 >

但是,如果我保持一切正常的datatable而不是datatable与动态列,生成的excel文件不为空。

我试图看看有人是否已经做到了这一点。

< p:dataExporter /> 和< p:dataTable /> //(带动态列)

如果我不使用动态列,它可以正常工作。 / p>

我正在使用PrimeFaces 2.2.1,JSF 2.0,poi-3.2-FINAL.jar。

解决方案

抱歉,目前不支持 dataExporter 组件。

http://forum.primefaces / viewtopic.php?f = 3& t = 12133& p = 38149& hilit = dataExporter + dynamic#p38149

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.

forum.primefaces/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.

更多推荐

从动态列的数据表中引用数据导出器

本文发布于:2023-10-19 18:20:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1508365.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据表   动态   数据

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!