Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3275360 By: talentedgeek
Hi All, I have a complex requirement. Set of rows have to be displayed to the user with sorting functionality on every column. I am accomplishing this using displaytag. To this, the user can request a "group by" on a particular column. This the user does by selecting a column name from a dropdown box. Now we have to display distinct values in that selected column with # of records having that value.And then when the user clicks on any of these distinct values, we have to show all the rows related to that value. For example: Step1: Initial Display NAME STATUS User1 Active User2 Active User3 Unactive User4 Deleted Step2: Group By on STATUS should result into following NAME STATUS Active 2 Unactive 1 Deleted 1 Step3: Clicking on "Active 2" should result into NAME STATUS Active 2 User1 Active User2 Active Unactive 1 Deleted 1 I can think of ways of implementing this but my problem is that in Step2 if the clicks on the column name for sorting, sorting should happen for that column. Say is "STATUS" is clicked then folowing should be displayed. NAME STATUS Active 2 Deleted 1 Unactive 1 Observe that Deleted is now in 2nd position. How can I accomplish this using Displaytag? Or atleast if anyone can tell me some alternatives or atleast whether this can be achieved using displaytags or not? I will be really very grateful. Thanks ______________________________________________________________________ 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: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user