fea jabi wrote: > Rick, > Thanks for your response. I tried the same but it's not sorting > right. > Please see below and suggest what's the mistake?
I think it's this: <display:column titleKey="lbl.crdate" sortable="true"> It's sortable, sure, but sortable on what? displaytag doesn't really know what you're displaying in the actual cells (and remember that what you're displaying is text, meaning that even if it did know what you were displaying in each cell, it would sort it alphabetically). I'm surprised actually that there's not some error thrown by adding sortable without a property or sortProperty attr. So you just need to add that: <display:column titleKey="lbl.crdate" sortable="true" sortProperty="createDate"> That is, createDate or whatever your date property is. That will tell the column on which actual property to sort. -- Rick Herrick [EMAIL PROTECTED] Proud member of the reality-based community Never try to discourage thinking for you are sure to succeed.--Bertrand Russell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user