Hi Szemere,
you are right, I also thought about this. But the result is a bit
confusing:
1. the nice little arrows don't show which column is sorted initially
(because Grid doesn't know about the sort order)
2. if the user figures out that the Grid is sorted by, say, the "Code"
column, and clicks on the column header to reverse the sort order, the
first click will sort by code, and the result will be the same as
before explicitely sorting. Only the second click will reverse the
sort order.
Best Regards,
Christoph
On Oct 26, 2008, at 13:57 , Szemere Szemere wrote:
I've got to say, I prefer the low-tech way of just sorting the
collection
before I give it to the Tapestry grid - it's a lot simpler than the
above.
This doesn't explain why you have the above issue, but it does give
you a
workaround.
Szemere
Christoph Jäger
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]