What is the JavaFX TableView's method equivalent to JTable.getSelectedRow() -



What is the JavaFX TableView's method equivalent to JTable.getSelectedRow() -

i need access info within tableview in programme can display window (stage) more info of elements in selected rows of table. give thanks much.

to selected item table utilize next code:

table.getselectionmodel().getselecteditem()

selection model has other convenience methods provide info index, multiple selection, etc.

jtable javafx-2 tableview

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -