Here is an example of how to do it. Use the defaultsort="<put ur column
number here">

<display:table name="sessionScope.TRANSACTIONS" class="simple"
width="100%" export="true" requestURI="<%= myURI%>" defaultsort="1"
decorator="com.hedging.decorators.TransactionDecorator" >

------------------------------------------------------
From: "Andy Huang" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed, 22 Oct 2003 03:40:52 +0000
Subject: [displaytag-user] Default Sort Order
Reply-To: [EMAIL PROTECTED]

Hello,

Is there a way to set the default sort order on the column?

Thanks.
Andy



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to