If you want to sort column with natural order then just specify the 'sort' of the <display:column> tag and make the value of attribute 'true'. Look at the TLD file for more details.
Regards, Pushpendra Singh Baghel Cell:-9324306569 Dir:-022-67928769 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SourceForge.net Sent: Thursday, November 29, 2007 11:19 AM To: [EMAIL PROTECTED] Subject: [displaytag-user] [displaytag - Open Discussion] Starting DisplayTag Library Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4649113 By: wjaahat This is my very first interaction with Display Tag Library, i want to sort column. My jsp code is written below, i don't know what else to do to make it work ..... <%@ include file="../top.jsp" %> <jsp:include page="../htmlTop.jsp" flush="true"> <jsp:param name="titleValue" value="Rahat Furnished Apartment"/> </jsp:include> <jsp:include page="../middle.jsp" flush="true"/> <display:table name="requestScope.dataMap.roomType" id="roomType" class="tbl"> <display:column property="description" title="Description" sortable="true" /> <display:column property="adult" title="Adult" /> <display:column property="children" title="Children" /> </display:table> <jsp:include page="../bottom.jsp" flush="true"/> i have heard about comparator interface but don't know how to implement it. Looking forward for your reply's. Regards, VJ ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=249317 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user --- This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient.If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that 3i Infotech or its subsidiaries and associated companies, (collectively "3i Infotech"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of 3i Infotech. Before opening any attachments please check them for viruses and defects. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user