You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by chpasha <ch...@gmail.com> on 2011/12/02 18:11:46 UTC
Re: [T5] Grid default sort column
If somebody still interested in solution... The problem lies here:
//Grid.getSortConstraints()
PropertyModel sortModel = getDataModel().getById(sortColumnId)
exception is raised because sort order is updated when the grid data model
is still null (strangely enough, it is not null at the first page start
though). The solution is to ensure, that the sort order is updated only and
only AFTER the data model is created and assigned to grid.model property.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Grid-default-sort-column-tp2425513p5042617.html
Sent from the Tapestry - User mailing list archive at Nabble.com.