1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-10 17:25:19 +00:00

Enable cell selection to later allow for data copying.

This commit is contained in:
2017-07-31 22:34:49 -07:00
parent 02b87bfae4
commit 4b57c7f67b

View File

@@ -41,6 +41,7 @@ public class AbacusController {
abacus = new Abacus();
historyData = FXCollections.observableArrayList();
historyTable.setItems(historyData);
historyTable.getSelectionModel().setCellSelectionEnabled(true);
inputColumn.setCellValueFactory(cell -> cell.getValue().inputProperty());
parsedColumn.setCellValueFactory(cell -> cell.getValue().parsedProperty());
outputColumn.setCellValueFactory(cell -> cell.getValue().outputProperty());