Tobias Wehrum wrote:
>
> But that doesn't seem very ideal to me, and I hope there is a better way.
>
I'd still prefer to be able to specify a default sorting in the template,
but here's how I implement an initial sorting on a grid:
if ( grid.getSortModel().getSortContraints().isEmpty() ) {
_grid.getSortModel().updateSort("colName");
}
--
View this message in context:
http://www.nabble.com/T5-setting-initial-sort-order-for-grid-in-T5.0.11-tp17165163p18758484.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]