0

I use displaytag to show data in a table with an excel report. Every row has an checkbox that when clicked changes a flag in the database for that row. This is handled by Ajax. So when I select/unselect the checkbox Ajax updates a column in the database and the checkbox state is preserved in the html.

The problem is that when I change a state of couple of checkboxes the changes are not reflected in the excel report because it seems to use the data which have been uploaded at the beginning.

The question is:

Is it possible to force reload of data from the database for the excel report to have the fresh data in the report?

4

1 回答 1

0

XLloop 将为您提供帮助。
这是一个用于在集中式服务器(函数服务器)上实现 Excel 用户定义函数 (UDF) 的开源框架。
请在此处查看详细信息。

它具有以下特点:

可扩展的 Java 服务器框架。
用许多其他语言编写的本机服务器框架(请参阅语言部分)。
长时间运行操作的弹出窗口(带有取消选项)
支持通过 JXLL 托管 C++ XLL。
基于反射的函数适配器,用于极快地部署 java 方法。
Bean 脚本框架适配器,因此可以用任何 BSF 支持的语言(例如 Ruby、Python、Javascript)编写函数。
Lisp 函数处理程序,用于动态评估 Lisp 表达式。
无需重新启动即可将函数动态添加到 Excel。
函数可以注册为 Excel 函数(带有帮助信息)。
具有多服务器故障转移/可扩展性的快速二进制协议。
JSON over HTTP(S) 协议。
新:可以配置为连接到多个功能服务器(提供者)。

于 2013-04-16T09:11:44.073 回答