[ http://jira.codehaus.org/browse/DISPL-39?page=comments#action_63396 ] 

Joachim Martin commented on DISPL-39:
-------------------------------------

This would be a great feature.  Something like multisort="country, state, 
city", would sort all three columns.

Of course a developer can add this with an external sort, but this makes it 
harder to be used by designer types.

> Let users sort across multiple columns
> --------------------------------------
>
>          Key: DISPL-39
>          URL: http://jira.codehaus.org/browse/DISPL-39
>      Project: DisplayTag
>         Type: Improvement

>   Components: Paging/Sorting
>     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



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to