Hi everybody,
I have a question about exporting a list that is already sorted (not
alphabetically) in the html. For example, I have the following table
with displaytag:
Date Another field
02/03/2007 aaaaa
17/03/2007 bbbbb
01/04/2007 ccccc
I can sort the table by date because I have the sortProperty property
indicating a java.util.Date field for column Date. The field in the
sortProperty is a different field than the one rendered in the html
(this last field is just a string representation of the date). However,
I try to export (to Excel and Csv) the table and I get the result:
Date Another field
01/04/2007 ccccc
02/03/2007 aaaaa
17/03/2007 bbbbb
Because the Date column is alphabetically sorted.
Can anyone give me a tip how to do this either in displaytag 1.0 or 1.1
please? (in my case I use 1.0)
I have seen a new kind of excel export in 1.1? Is this possible with
this new exporter for excel? And for Csv?
Thanks in advance.
Miro
-------------------------------------------------------------------------
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
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user