This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi: I am looking for a menu component that perform sort operations. The similar functionality like in Microsoft Outlook(Inbox). When you click on the From, Subject, Received items in the INBOX the contents will be sorted with respect to the respective header clicked. In the same way, the component should sort the resultset between ascending & descending order whenever the header is clicked. Can anyone give me some tips where to purchase/get the code..?? Any help is really appreciated! Thanks: Hari Pillai
Here is a servlet I did up that I think does what you want. It sounds to me like you are grabbing data from a database and storing it in a ResultSet. That's the assumption I went off of, but if not you can easily change the code. I also assumed there was some reason you didn't want to "ORDER BY" your sql query.
Hope this helps. Study it, and if you have any questions I'll be happy to try and answer them. Jay [This message has been edited by Jason Menard (edited February 22, 2001).]
Joined: Feb 21, 2001
Thanks a lot Jay..I will test it out and let you know! Hari