轻松解决表格视图可编辑 第一步: //设置表格可编辑状态 dateTplTable.setEditable(true); 第二部 //给需要编辑的列设置属性 tplCode.setCellFactory(TextFieldTableCell.forTableColumn());