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

[ListView, TreeView, TableView, TreeTableView] Implement fixed cell height support

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx

      Fixed cell height support allows for two things: less time spent calculating the heights of all cells, and the option to virtualise cells belonging to columns that are not visible (in TableView / TreeTableView). From my very early benchmarking, I get the following results:

      Using TableView, with 31 columns (7 of which are visible), the FPS count goes from 54 fps to 68 fps when I enable fixed cellheights. That's a decent gain. On the other hand, if there are 5 columns (all of which are visible), the FPS count goes from 67 fps to 69 fps when I enabled fixed cell heights. In other words, there is a only a small gain when all columns are visible.

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

              Created:
              Updated:
              Resolved:
              Imported: