Announcement Announcement Module
Collapse
No announcement yet.
Table sorting in Simple Sample Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 ?


  • #2
    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

    Comment


    • #3
      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-

      Comment


      • #4
        GlazedLists site: http://publicobject.com/glazedlists/

        Spring RCP site: http://spring-rich-c.sourceforge.net/. Look for javadocs under a specific module on the left-side menu, for example Spring-richclient-support, then Projects Reports, then JavaDocs. Take notice, these may be a bit outdated. The guys are meanwhile working on aggregated JavaDocs for the whole project.

        There is also another site that host javadocs for spring rcp, maybe more up-to-date: https://scifi.homelinux.net/mediawik...ring_Framework.

        However, the best way to stay "fresh" is to check out sources from SVN repository and build snapshots/docs yourself. See http://spring-rich-c.sourceforge.net...mentSetup.html on how to do this.

        Andrius

        Comment


        • #5
          Wysiwyg

          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-

          Comment

          Working...
          X