You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Harald Geritzer <h....@gmail.com> on 2008/03/18 13:38:59 UTC

[T5] How to set initial sortorder in grid

hi all,

whats the best practice to set the initial sortorder for a grid.
in 5.0.11 i set it in my pageLoaded method by

grid.getSortModel().getSortContraints().add(new SortConstraint(gridModel.getById(property), 
columnSort));


but it seems like anything has changed in 5.0.12 and a NullPointerException gets thrown.

thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org