How can I set a TableView\'s resize policy from FXML? I tired this way, but it\'s not working:
To set columnresize policy for tableview using fxml , you have to use <columnResizePolicy>
tag . This will work on javafx 2.2 and later..
<TableView>
<columnResizePolicy><TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/></columnResizePolicy>
</TableView>
Reference :
Defining TableView columnResizePolicy property with fxml