????????????????checkColumn.setCellValueFactory(new?PropertyValueFactory<Check,?Boolean>("checkAble"));
checkColumn.setCellFactory(CheckBoxTableCell.forTableColumn(checkColumn));
firstColumn.setCellValueFactory(new?PropertyValueFactory<Check,?String>("checkTypeString"));
secondColumn.setCellValueFactory(new?PropertyValueFactory<Check,?String>("bookedCountTotalCount"));
thirdColumn.setCellValueFactory(new?PropertyValueFactory<Check,?String>("dateTimeString"));
checkTable.setItems(observableList);
checkTable.setEditable(true);將若干記錄選中后怎么獲取選中的記錄?
JavaFX TableView第一列設(shè)置checkBox 如何獲取選中的值
老實(shí)人theOne
2018-04-12 17:56:54