On Thu, 12 Jan 2012 13:34:12 -0200, LanceWhite <groli...@gmail.com> wrote:
How do you turn off the user sorting of a column in the T5.3 grid?
Provide a BeanModel to Grid with the PropertyModel for the column set as
unsortable.
Something like this:
public BeanModel getBeanModel() {
BeanModel beanModel = beanModelSource.createDisplayModel(License.class,
messages);
beanModel.get("yourcolumnid").sortable(false);
return beanModel;
}
<table t:type="grid" t:model="beanModel" ...>
Do you have to set a specific GridSortModel,
No.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org