You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2008/10/31 17:59:44 UTC

[jira] Commented: (TAP5-102) Add a "default sort column" parameter to Grid component

    [ https://issues.apache.org/jira/browse/TAP5-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644351#action_12644351 ] 

Howard M. Lewis Ship commented on TAP5-102:
-------------------------------------------

A workaround now possible with 5.0.16-SNAPSHOT:

    @InjectComponent
    private Grid grid;

    void setupRender()
    {
        if (grid.getSortModel().getSortConstraints().isEmpty())
            grid.getSortModel().updateSort("title");
    }

> Add a "default sort column" parameter to Grid component
> -------------------------------------------------------
>
>                 Key: TAP5-102
>                 URL: https://issues.apache.org/jira/browse/TAP5-102
>             Project: Tapestry 5
>          Issue Type: New Feature
>    Affects Versions: 5.0.15
>            Reporter: Christoph Jäger
>
> Add a parameter defaultSortColumn to the Grid component, so we can specify the column by which to sort by default from the .tml, without having to write code in the .java part of the page.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org