title: Edit date in row javafx
body: <p>How to double click to edit date like email. please help me!
  I just learned 1 week</p>
  
  <pre><code>TableColumn&lt;datadetail, String&gt; id = 
                  new TableColumn&lt;datadetail, String&gt;("Id");
  TableColumn&lt;datadetail, String&gt; email = 
                  new TableColumn&lt;datadetail, String&gt;("Email");
  TableColumn&lt;datadetail, Date&gt; datum = 
                  new TableColumn&lt;datadetail, Date&gt;("Datum");
  </code></pre>
  
  <pre><code>email.setCellValueFactory(new PropertyValueFactory&lt;&gt;("email"));
  email.setCellFactory(TextFieldTableCell.&lt;datadetail&gt; forTableColumn());
  email.setOnEditCommit((CellEditEvent&lt;datadetail, String&gt; event) -&gt; {
          TablePosition&lt;datadetail, String&gt; pos = event.getTablePosition();
          String newEmail = event.getNewValue();
          int row = pos.getRow();
          datadetail datadetail = event.getTableView().getItems().get(row);
          datadetail.setEmail(newEmail);
       });
  </code></pre>