猿问

JavaFX TableView第一列设置checkBox 如何获取选中的值

                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);

将若干记录选中后怎么获取选中的记录?

老实人theOne
浏览 4031回答 0
0回答

老实人theOne

看了csdn上大佬的操作,已经解决了
随时随地看视频慕课网APP

相关分类

Java
我要回答