Hi,
in your tml file, provide an override for the usernamecell. You will
need to provide 2 attributes, username and usernameUppercase. Or you can
modify the DataSourceModel and add a usernameUppercase. The trick is to
tell the grid to use the usernameUppercase as the column data, but then
in the tml cell override to print the username.
Hope this helps. Sorry that I can't look up my own code at the moment.
But look at the grid component documentation.
Ciao,
Jonathan
On 31/07/2009 05:21, ppetrou wrote:
I am using a Grid component to display the fields of a User and when clicking
on the USERNAME column header the default behavior is to sort a the users by
name(case sensitive). However, I want the sorting to take place in a
non-case sensitive manner. I tried to do this with the GridSortModel but I
can't figure out if I need to implement a Comparator or something.
Any pointers?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org