You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Christoph Jäger (JIRA)" <de...@tapestry.apache.org> on 2007/12/05 22:41:43 UTC
[jira] Created: (TAPESTRY-1963) Add a "default sort column"
parameter to Grid component
Add a "default sort column" parameter to Grid component
-------------------------------------------------------
Key: TAPESTRY-1963
URL: https://issues.apache.org/jira/browse/TAPESTRY-1963
Project: Tapestry
Issue Type: Improvement
Components: Core Components
Affects Versions: 5.0.7
Reporter: Christoph Jäger
Priority: Minor
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
[jira] Updated: (TAP5-102) Add a "default sort column" parameter to
Grid component
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAP5-102:
--------------------------------------
Priority: Major (was: Minor)
Issue Type: New Feature (was: Bug)
> 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
[jira] Updated: (TAPESTRY-1963) Add a "default sort column"
parameter to Grid component
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAPESTRY-1963:
-------------------------------------------
Fix Version/s: 5.1
> Add a "default sort column" parameter to Grid component
> -------------------------------------------------------
>
> Key: TAPESTRY-1963
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1963
> Project: Tapestry
> Issue Type: Improvement
> Components: Core Components
> Affects Versions: 5.0.7
> Reporter: Christoph Jäger
> Priority: Minor
> Fix For: 5.1
>
>
> 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
[jira] Commented: (TAP5-102) Add a "default sort column" parameter
to Grid component
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ 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