[ http://jira.codehaus.org/browse/DISPL-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167369#action_167369 ]
Dhiraj commented on DISPL-39: ----------------------------- Workaround for secondary sorting with display tag: If the list of objects is sorted from the backend, that sorting is retained while sorting on other columns. Limitation of this workaround is that the secondary sort column is fixed. > Let users sort across multiple columns > -------------------------------------- > > Key: DISPL-39 > URL: http://jira.codehaus.org/browse/DISPL-39 > Project: DisplayTag > Issue Type: Improvement > Components: Paging/Sorting > Affects Versions: 1.0 RC1 > Reporter: fabrizio giustina > Priority: Minor > Fix For: TBD > > > ==== > imported from sf tracker > id 830363 > submitted by Richard Atkins - rjatkins > http://sourceforge.net/support/tracker.php?aid=830363 > ==== > Sorting in the library should support the user sorting > across multiple columns. A sort from one display of a > table should be used as input for the sort on the next > column. > eg. From the initial table (warning: ugly ascii art follows) > Name | Dept | Role > ======================= > Bob | Sales | Manager > Joe | Dev | Engineer > Fred | Dev | Manager > Sorting this by Name gives: > Name | Dept | Role > ======================= > Bob | Sales | Manager > Fred | Dev | Manager > Joe | Dev | Engineer > Sorting this by Dept gives: > Name | Dept | Role > ======================= > Fred | Dev | Manager > Joe | Dev | Engineer > Bob | Sales | Manager > Note that Fred now comes *before* Joe in the list. > Implementing this would mean that sorting would work in > the same way that it does in standard windows list > views, so would work the way many users would expect. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel