Chris Pratt wrote:
> Is it possible to sort by the data in the column, not by what's
> displayed on the screen?
>
Yes.
> I was hoping I could do something like:
>
> <display:column sortable="true"
> property="receivedDate">${a:friendlyDate(message.receivedDate)}</display:column>
>
>
Almost. I'm assuming you're using version 1.1. You need to use the
sortProperty attribute of the column tag:
<display:column sortable="true"
sortProperty="receivedDate">${a:friendlyDate(message.receivedDate)}</display:column>
Alternatively if you're using version 1.0 you can give this thread a
read through and try the suggestions from there:
<http://sourceforge.net/mailarchive/message.php?msg_id=C26A7539FDE66749A41637BF13CD7EBA08F4BA%40SVEXCHANGE.emspic.org>
Ed!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user