how get column index and row index in GridPane
of JavaFX. see the code below
Text text1 = new Text(\"Te
You can get the row index and column index by utilising the static methods getRowIndex() and getColumnIndex() which are located in the GridPane class.
System.out.println("Row: "+ GridPane.getRowIndex(text1));
System.out.println("Column: "+ GridPane.getColumnIndex(text1));
See for reference: http://docs.oracle.com/javafx/2/api/javafx/scene/layout/GridPane.html#getRowIndex(javafx.scene.Node)