This could be done via a mixin like this (untested)
public class DontSort {
@InjectComponent
private Grid grid;
@Parameter(required="true")
private String unsorted;
@SetupRender
void setupRender() {
BeanModel model = grid.getDataMod
Thanks, that gave me the info I needed!
(and found the JumpStart example where this was done)
Cheers
Lance
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-3-Grid-sorting-tp5140215p5140324.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
On Thu, 12 Jan 2012 13:34:12 -0200, LanceWhite 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 = bean