Hello Jorge,
Thanks a lot for your reply.
The data is exported unsorted. As I am not exporting the radio column and
stopping it to export using media = "html"
Work around I am using is, I have introduced a blank column after radio
column as
<display:column title="Select" media="html">
<input type="radio" name="rad" value="<bean:write name="row"
property="cusip"/>" onclick="assignValue(this)" style="font-family: Verdana;
font-size: 8pt">
</display:column>
<display:column media="excel"/>
This will get me the sorted data in Excel but it will introduce a blank
column in Excel.
Please also see the url
http://www.mail-archive.com/[email protected]/msg03197.
html
<http://www.mail-archive.com/[email protected]/msg03197
.html>
I have tried the export with version 1.0 and 1.1 with following views.
export.excel.class=org.displaytag.export.ExcelView
export.excel.class=org.displaytag.export.excel.DefaultHssfExportView
Best Regards,
Amber Gupta
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jorge
Barroso
Sent: 07 December 2006 04:00
To: [email protected]
Subject: Re: [displaytag-user] FW: Media 'html' Export to Excel sorting
doesn't work
Is the data not exported at all, or is exported unsorted?
Which excel export view are you using?
-J
----- Original Message ----
From: "Gupta, Amber" <[EMAIL PROTECTED]>
To: "[email protected]"
<[email protected]>
Sent: Wednesday, December 6, 2006 1:43:21 AM
Subject: [displaytag-user] FW: Media 'html' Export to Excel sorting doesn't
work
Hello,
I have one radio and two sortable String columns on Screen and for radio I
am using media as html so as not to export to Excel:
<display:column title="Select" media="html">
<input type="radio" name="rad" value="<bean:write name="row"
property="cusip"/>" onclick="assignValue(this)" style="font-family: Verdana;
font-size: 8pt">
</display:column>
<display:column property="cusip" title="Cusip" sortable="true"
headerClass="sortable"/>
<display:column property="longName" title="Long Name" sortable="true"
headerClass="sortable"/>
If I am not using media "html" for radio column sorted data is very well
exported but the radio column data also appears in the Excel in the sorted
format.
For this I am using media "html" and exporting data to excel is not able to
export the sorted data in Excel.
I can make out there is some thing to do the Excel URL
<http://localhost:9080/AtlasWeb/application/searchSecurityAjaxSort?d-16544-s
=2&d-16544-o=1&6578706f7274=1&d-16544-e=2>
http://localhost:9080/AtlasWeb/application/searchSecurityAjaxSort?d-16544-s=
2&d-16544-o=1&6578706f7274=1&d-16544-e=2
The URL is not the required one as it is still assuming there is radio
column available for Exporting.
Please suggest me the solution for this.
Best Regards,
Amber Gupta
Fidelity Business Services India Pvt Ltd,
Gurgoan, India
E-mail : [EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
<http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
<https://lists.sourceforge.net/lists/listinfo/displaytag-user>
_____
Need a quick answer? Get one in minutes from people who know. Ask your
question on Yahoo!
<http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1
NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx> Answers.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user