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

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

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