[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]