A working example:

        
http://jumpstart.doublenegative.com.au/jumpstart7/examples/tables/griddatasources

Geoff

> On 10 Mar 2016, at 1:45 AM, Thiago H de Paula Figueiredo <thiag...@gmail.com> 
> wrote:
> 
> On Wed, 09 Mar 2016 13:25:43 -0300, Kiran Govind <kiran.govin...@gmail.com> 
> wrote:
> 
>> Hi All,
> 
> Hi!
> 
>> I have one question. In Tapestry's Grid component the default behaviour of 
>> sort on any column is case sensitive. My requirement is to make the sorting 
>> case insensitive. Can any one please help me over here.
> 
> In this case, you should create your own GridDataSource implementation and 
> pass one instance of it to the source parameter of Grid instead of passing a 
> List. GridDataSource.prepare(int startIndex, int endIndex, 
> List<SortConstraint> sortConstraints) is where you should put your sorting 
> logic.
> 
> -- 
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


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

Reply via email to