JavaFX Scene Builder Tutorial 39 - TableView and TableColumn

JavaFX Scene Builder Tutorial 39 TableView and TableColumn Code source here : The Table View control will be used to display the list of issues. 1 - In the Controls section of the Library panel, select Table View. Drag and drop it above the Split Pane (Vertical Flow) element’s divider line 2- From the Menu bar, choose Modify and then Fit to Parent. 3 - Click the Code section of the Inspector panel and select table from the fx:id field’s drop-down list of available instance variables. 4 - Set the properties of the two columns in the table view. In the Hierarchy panel, select the row for the first TableColumn component under the row for the TableView component. In the Code section of the Inspector panel, select colName from the fx:id field’s drop-down list. Click the tab for the Properties section and set the Text property to Name:. Back in the Hierarchy panel, select the row for the second Table Column component
Back to Top