swingx
  1. swingx
  2. SWINGX-479

Add client properties for sorting/filtering

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 1.6.3
    • Component/s: TreeTable
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      479

      Description

      The JXTreeTable has known issues with sorting and filtering. As such the
      methods, setSortable and setFilters are no-ops. This dissuades users from
      attempting sorting and filtering solutions, since they are required to modify
      the JXTreeTable source.

      I suggest adding client properties that will enable the use of the inherited
      sorting and filtering. I will be easier for users to work with the inherited
      code and also (hopefully) make it easier for users to come up with solutions to
      the current problems.

      I'd recommend "enable-super-sorting" and "enable-super-filtering".

        Activity

        Hide
        Karl Schaefer added a comment -

        My bug and I'm closing as won't fix. We'll just wait on Mustang to reevaluate
        tree table sorting.

        Show
        Karl Schaefer added a comment - My bug and I'm closing as won't fix. We'll just wait on Mustang to reevaluate tree table sorting.
        Show
        uvoigt added a comment - See thread http://www.java.net/forum/topic/javadesktop/java-desktop-technologies/swinglabs/jxtreetable-and-sorting-subclasses
        Hide
        kleopatra added a comment -

        decided against both clientProperty and some single method to turn on the sorting - both
        are not safe enough, IMO. Instead, added protected methods to access respective super
        methods. Thus subclasses have explicitly re-implement the respective no-ops implementations
        in JXTreeTable. Hope that's repellent enough for any hobby adventurer

        committed as of revision #3915, JXTreeTableUnitTest has a (fake! no real sorting) example
        of how to override

        Cheers
        Jeanette

        Show
        kleopatra added a comment - decided against both clientProperty and some single method to turn on the sorting - both are not safe enough, IMO. Instead, added protected methods to access respective super methods. Thus subclasses have explicitly re-implement the respective no-ops implementations in JXTreeTable. Hope that's repellent enough for any hobby adventurer committed as of revision #3915, JXTreeTableUnitTest has a (fake! no real sorting) example of how to override Cheers Jeanette

          People

          • Assignee:
            kleopatra
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: