|
|
Table sorting in Simple Sample
I'm a newbie to Spring Richclient. I find the table sample provide in Simple Sample to be rather useful. However, the sorting function (upon clicking) on the table header doesn't seem to work as expected. Most of the times I had to click on the same header multiple times (sometimes up to 10 times) to get the sorting done.
Is this a known bug or is there something I'm not aware of on this functionality ?
You are probably referring to GlazedLists TableComparatorChooser functionality that supports sorting on multiple columns. Try double-clicking on the column headers, that will sort the table by that column only.
If you want more information, check out Spring RCP AbstractObjectTable methods isMultipleColumnSort() and createTableSorter(...). Also see GlazedLists documentation.
Andrius
Thanks, andrius
I've override isMultipleColumnSort() to disable this feature and now it works fine with single click.
Would you be able to give me pointers to where the Glazed Lists docs are ? Also, where are the javadocs for spring richclient itself ?
-bluedolphin-
...mentSetup.html on how to do this.
Andrius
Thanks for the links.
I've already got the latest source in my PC and have set up the development
environment on Eclipse. Do you know of any good WYSIWYG tool that would work with Spring RichClient ? I've tried out Visual Editor for Eclipse but I'd have to manually adapt the generated codes to RCP convention.
-bluedolphin- |
|