tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Palma (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-588) It should be much easier to set an initial sort column of a grid
Date Fri, 20 Mar 2009 15:54:50 GMT
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


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message