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

Allow client code to provide a strategy for "fitToColumn" measurement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx

      As discussed in https://github.com/openjdk/jfx/pull/1358 it would be desirable for the client to be able to specify how to measure the required width of a column.

      Examples are:
      - Fixed size
      - Visible cells only + estimates
      - All cells
      - First 15, bottom 15
      - First 1000 rows

      The current situation is like this: The default auto size is done with 30 rows. If you double click the edge of the header, it will take ALL rows, which can be very slow.

      Related issues:
      * JDK-8251480 calc of cell width must respect row styling
      * JDK-8325154 resizeColumnToFitContent is slower than it needs to be

            rlichten Robert Lichtenberger
            rlichten Robert Lichtenberger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: