You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/05/27 09:20:16 UTC

[jira] [Updated] (TAP5-588) It should be much easier to set an initial sort column of a grid

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

Jochen Kemnade updated TAP5-588:
--------------------------------

    Labels: bulk-close-candidate  (was: tapestry5-review-for-closing)

This issue has been last updated about 1.5 years ago, has no assignee, affects an old version of Tapestry that is not actively developed anymore, and is therefore prone to be bulk-closed in the near future.

If the issue still persists with the most recent development preview of Tapestry (5.4-beta-6, which is available from Maven Central), please update it as soon as possible. In the case of a feature request, please discuss it with the Tapestry developer community on the dev@tapestry.apache.org mailing list first.


> It should be much easier to set an initial sort column of a grid
> ----------------------------------------------------------------
>
>                 Key: TAP5-588
>                 URL: https://issues.apache.org/jira/browse/TAP5-588
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.2
>            Reporter: Hugo Palma
>            Priority: Minor
>              Labels: bulk-close-candidate
>
> Right now if you want to set an initial sort column for a grid you have to code something like:
> if (grid.getSortModel().getSortConstraints().isEmpty()) {
>             grid.getSortModel().updateSort("column");
> }
> for every grid in the page.
> It would be great if an "initialSortColumn" or "defaultSortColumn" parameter was added to the grid component that would receive the name of the column to which the grid would be ordered by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)