[ 
https://issues.apache.org/jira/browse/TAP5-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAP5-109.
-------------------------------------

    Resolution: Duplicate
      Assignee: Howard M. Lewis Ship

> Allow define Grid sort within the template.
> -------------------------------------------
>
>                 Key: TAP5-109
>                 URL: https://issues.apache.org/jira/browse/TAP5-109
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.15
>         Environment: T 5.0 - 5.0.11
>            Reporter: Adam Zimowski
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Grid by default enables sort for all columns without providing a flexible and 
> quick mechanism at the template level for configuring which columns to make 
> sortable, and to allow to turn on and off sorting alltogether. Current sort 
> default should be evaluated as lot of developers disable sorting for all 
> columns only to enable it for a column or two, if that at all.
> Proposed enhancement:
> 1) Change Grid to disable sort on all columns.by default (this is the least 
> needed of all four enhancements, but it would be nice if this could be 
> changed)
> 2) Add sortAll parameter which accepts boolean value. If true, then sort for 
> all columns is enabled, if false sort for all columns is disabled. Per 
> enhancement #1, default would be false.
> 3) Add sorted parameter which accepts comma delimited names of columns to be 
> sorted. I am not sure how this would play out with existing include 
> parameter, as some decisions have to be made as far as what if "sorted" 
> contains a property which is excluded from display in a first place?
> 4) Add unsorted parameter which is opposite of sorted parameter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to