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

Possibility to hide column-headers of TableView


    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      JavaFX 2.1 32-bit, Windows 7 64-bit


      Please add some way of hiding the column headers in a table view. I cannot achieve this with css nor code.

      It may have been possible if setNode or setGraphic was added, as suggested in issue RT-14226, but that was closed as a duplicate of an issue that did not solve this.

      My use case is simple, I'm using multiple columns to actually display the same kind of information (pictures) from which the user can select one. Having an easy ability to scroll, to be able to provide a cell factory and the ability to select something seemed to make TableView a good choice, apart from the column headers not being hideable. Think of it as a ListView that will first fill a few columns horizontally before wrapping around to the next row (if only ListView could do that :-))

      I'm sure there are more use cases though for having column headers invisible, as it has been asked about on the forum before as well.




            • Assignee:
              jgiles Jonathan Giles
              jhendrikx John Hendrikx
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: