For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
Pane header = (Pane) table.lookup("TableHeaderRow"); header.setVisible(false); table.setLayoutY(-header.getHeight()); table.autosize();
list.widthProperty().addListener(new ChangeListener<Number>() { @Override public void changed(ObservableValue<? extends Number> source, Number oldWidth, Number newWidth) { ...other stuff... //Don't show header Pane header = (Pane) list.lookup("TableHeaderRow"); if (header.isVisible()){ header.setMaxHeight(0); header.setMinHeight(0); header.setPrefHeight(0); header.setVisible(false); } } });
I've a nested column, i.e. one column has 2 columns in it. How to disable only the header of the sub column and not the main column's header.
Example:
TableColumn main = new TableColumn("");
TableColumn lastName = new TableColumn("Last Name");
TableColumn firstName = new TableColumn("First Name");
main.getColumns().addAll(lastName , firstName );
When this is rendered, it displays 1 main header and 2 sub header Last Name and First Name. Now how to only hide showing of First and Last Name column's header.
Is it possible?
Thanks.