I'm using javaFx and have TreeTableView with 2 TreeTableColumn:
TreeTableView<MesssageField> treeTableView;
TreeTableColumn<MesssageField,String> fieldColumn;
TreeTableColumn<MesssageField,String> valueColumn;
In the initialize method I have the following code:
valueColumn.setCellFactory( TextFieldTreeTableCell.forTreeTableColumn() );
fieldColumn.setCellValueFactory( p -> p.getValue().getValue().getFieldNameProperty());
valueColumn.setCellValueFactory(p -> p.getValue().getValue().getFieldValueProperty());
When the user wants to type data in the table, he must press on "Enter". How can I edit the code, in order to assist the user to insert data without pressing on "Enter"
Thanks