I initialized a GridPane through SceneBuilder and inside the controller I want to conditionally add a row to the GridPane. I do not want to store an int for how many rows I initialized, I want to be able to get the number of rows from the GridPane object. Is that possible?
Get the number of rows in a JavaFX GridPane?
14k Views Asked by j will At
4
Hej j will, try this method:
This worked for me.
Patrick