I've been trying to build a Tree Table and define the cellValueFactories in FXML.
When I try this, I get the following error in the stack trace
Exception in thread "JavaFX Application Thread" java.lang.ClassCastException: javafx.scene.control.TreeTableColumn$CellDataFeatures cannot be cast to javafx.scene.control.TableColumn$CellDataFeatures
The FXML is written as follows
<TreeTableView prefHeight="500.0" prefWidth="600.0" fx:id="customerContractsTable">
<columns>
<TreeTableColumn prefWidth="116.0" text="Contract Number">
<cellValueFactory>
<PropertyValueFactory property=""/>
</cellValueFactory>
</TreeTableColumn>
</columns>
</TreeTableView>
I've been trying to find any documentation references on how to do this and am coming up completely empty handed. Any documentation or help would be greatly apperciated.