Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102102

TableView: Consider adding an 'autoSort' property to TableView

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Withdrawn
    • Icon: P4 P4
    • 7u6
    • fx2.1
    • javafx

      Comment from Richard in RT-19445:
      Now, that said, I do wonder if we couldn't have an auto-sort flag on the TableView set to true by default? Jonathan, did we explore this (I can't remember). The idea would be, that whenever the TableView was notified of a new item being added to the list view it would automatically resort if the table columns are in a sort state (i.e.: getSortOrder list is not empty). Would that conflict with the future case of having a custom SortedList available? Note that we would actually be sorting the list supplied, and if the developer doesn't want this, then they would provide a SortedList just as we had previously planned (such that the "original unmodified" order can be preserved).

            jgiles Jonathan Giles
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: