binding
  1. binding
  2. BINDING-142

JTable setAutoCreateRowSorter(true) and SingleListSelectionAdapter on sorted JTable don't work

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      Using JTable setAutoCreateRowSorter(true) that supports sorting of rows from the header and using SingleLustSelectionAdapter binding don't work. After sorting the rows and on JTable results in out of sync of the SelectionInList selectionHolder/Index and the actual selected
      row on the List Model. Very easy to reproduce just add on the tutorial AbstractTableModelExample after table.setSelectModel add the row table.setAutoCreateRowSorter(true) and run the example with sorting the table (header name) you will see that the selection is out of synch with the List Model view.

      Note: The problem has been might be identified but I could not find it in the a fix or solution of the issue.

      Thx Lars.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            lschnell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: