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

https://img4.mukewang.com/5acf2cdf000177c303380289.jpg

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

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

老实人theOne

看了csdn上大佬的操作,已经解决了
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java