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

New table columns don't appear when using fixed cell size unless refreshing tableView

    XMLWordPrintable

Details

    • b23

    Backports

      Description

        When the TableView sets fixedCellSize to a given positive value, if new table columns are added to it, the TableView doesn't get updated and these columns are not immediately visible.

        Only after refreshing the tableView (with tableView.refresh()) or the scene/stage (resizing it for instance), the new columns become visible.

        Run the attached test and notice there are only 10 visible columns, but the table has already 20. Resize the stage, and notice the scrollbar changes, and you can scroll to the right and see the 20 columns.

        The issue happens for any JavaFX version.

        Attachments

          Issue Links

            Activity

              People

                jpereda Jose Pereda
                jpereda Jose Pereda
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: