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 -

ios - How do I set Content-type using Bubblewrap HTTP? -

c# - Get angle of rotation after rotating a view -