You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Amit Nithian <an...@gmail.com> on 2009/04/06 19:59:52 UTC

Disable sorting- grid component

Is there a simple way to disable the sorting feature of the grid component?
I just want the column heading without the ability to re-sort by clicking on
the arrows or the column heading link.
Thanks!

Re: Disable sorting- grid component

Posted by Geoff Callender <ge...@gmail.com>.
Example of turning off an individual column's sorting: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/gridmodel1

On 07/04/2009, at 5:53 AM, Geoffrey Wiseman wrote:

> On Mon, Apr 6, 2009 at 1:59 PM, Amit Nithian <an...@gmail.com>  
> wrote:
>
>> Is there a simple way to disable the sorting feature of the grid  
>> component?
>> I just want the column heading without the ability to re-sort by  
>> clicking
>> on
>> the arrows or the column heading link.
>>
>
> There definitely is, yes -- I've done it on a field by field basis  
> in the
> grid model before.  I don't, off the top of my head, see a simple  
> way of
> disabling sorting across the entire grid, although it could  
> presumably be
> done with a mixin.
>
>  - Geoffrey
> -- 
> Geoffrey Wiseman
> http://www.geoffreywiseman.ca/


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


Re: Disable sorting- grid component

Posted by Geoffrey Wiseman <ge...@gmail.com>.
On Mon, Apr 6, 2009 at 1:59 PM, Amit Nithian <an...@gmail.com> wrote:

> Is there a simple way to disable the sorting feature of the grid component?
> I just want the column heading without the ability to re-sort by clicking
> on
> the arrows or the column heading link.
>

There definitely is, yes -- I've done it on a field by field basis in the
grid model before.  I don't, off the top of my head, see a simple way of
disabling sorting across the entire grid, although it could presumably be
done with a mixin.

  - Geoffrey
-- 
Geoffrey Wiseman
http://www.geoffreywiseman.ca/