[英]Displaytag Export Excel Issue - HTML Code inside the output excel file
Some one has had the same problem before here in SO, but unfortunately no answer for that. 有人在SO之前曾遇到过相同的问题,但不幸的是没有答案。
csv export using displaytag gives html tags in the output file 使用displaytag的csv导出在输出文件中提供html标签
Am having the same problem here. 在这里有同样的问题。
I have a table. 我有桌子 I use display tag for exporting it in to Excel. 我使用显示标签将其导出到Excel。 It works fine. 工作正常。
A1 | A1 | B1 | B1 | C1 | C1 | G1 G1
A2 | A2 | B2 | B2 | C2 | C2 | G2 G2
A3 | A3 | B3 | B3 | C3 | C3 | G1 G1
A4 | A4 | B4 | B4 | C4 | C4 | G2 G2
Now, I have a feature called , group by , where it groups by a specific columns. 现在,我有一个名为,分组依据的功能,其中该功能按特定的列分组。 The tables would change as 该表将更改为
G1 G1
A1 | A1 | B1 | B1 | C1 | C1 | G1 G1
A3 | A3 | B3 | B3 | C3 | C3 | G1 G1
G2 G2
A2 | A2 | B2 | B2 | C2 | C2 | G2 G2
A4 | A4 | B4 | B4 | C4 | C4 | G2 G2
If I try to export this, am getting HTML tags tr
and td
inside the output excel file. 如果我尝试导出此文件, td
在输出excel文件中获取HTML标签tr
和td
。 Is it a bug?? 这是一个错误吗? or am I missing anything!! 还是我错过了什么!
This is a bug in TableDecorator. 这是TableDecorator中的错误。 Unfortunately, even the demo page does not have a case like this!!! 不幸的是,即使演示页面也没有这样的情况!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.