How to disable a table cell for editing in JavaFX 2
问题 In JavaFX 2, I want to disable a some cells in a column for edition. Something along the lines of TableModel.isCellEditable(row, col) in Swing. I need the item in the row to make a decision whether the cell is editable, cell value is not enough. The code I managed to write is: TableView<FilterItem> localTableView = new TableView<FilterItem>() { public void edit(int paramInt, TableColumn<FilterItem, ?> paramTableColumn) { if (paramInt >= 0) { FilterItem item = getItems().get(paramInt); //get