You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by shymon <sh...@poczta.onet.pl> on 2009/07/20 16:06:46 UTC

changing grid sort constraints from event handler


How can I change grid sorting constraints from actionLink event handler?


-- 
View this message in context: http://www.nabble.com/changing-grid-sort-constraints-from-event-handler-tp24570524p24570524.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: changing grid sort constraints from event handler

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Mon, 20 Jul 2009 11:06:46 -0300, shymon <sh...@poczta.onet.pl>  
escreveu:

> How can I change grid sorting constraints from actionLink event handler?

Try injecting the grid instance and then calling  
grid.getSortModel().updateSort("propertyName").

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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