Thanks Jonathan, That fixed the problem. Here is my code
t:grid rowsPerPage="20" pagerPosition="top" source="searchResultsList" row="auxUser" add="userselect" inPlace="true" lean="true" empty="." reorder="userselect, id, username, email, firstNameUppercase, lastName" t:parameter name="firstNameUppercaseCell" ${auxUser.firstName} t:parameter t:grid Jonathan O'Connor wrote: > > 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 > > > -- View this message in context: http://n2.nabble.com/GridSortModel-tp3360535p3365578.html Sent from the Tapestry Users mailing list archive at Nabble.com.