This content has been marked as final.
Show 2 replies
-
1. Re: rich table sorting
ilya_shaikovsky Jul 21, 2009 4:07 AM (in response to janepepo)you have to implement external sorting as at demosite.
-
2. Re: rich table sorting
johndoe123 Jul 21, 2009 5:54 AM (in response to janepepo)I have actually done this with a custom DataModel.
The key issue here is to implement the Modifiable interface and set restrictions accordingly. I used reflection to get the datatypes of the bound entities.
The modify method of this interface gets two lists as arguments: one for filterFields and one for sortFields. Then just evaluate them and construct your own restrictions.
Maybe that helps a bit.