title: How to refresh TableView after deleting data from it?
body: <p>How to refresh TableView after deleting data from it ?<br>
  <em>(I have to click on the row and then on the deleteButton, to delete)</em></p>
  
  <p>Here is where I delete the data form the Observable-List:</p>
  
  <pre><code>  @FXML
      void delAction(ActionEvent event) {
              fnlData.remove(index);  //fnl Data is the Observable List
              finalTable.getSelectionModel().clearSelection(); //finalTable ist the TableView
  
      }
  
      public final void select() {
          finalTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {
  
              @Override
              public void changed(ObservableValue observable, Object oldvalue, Object newValue) {
                  setIndex(fnlData.indexOf(newValue));
                  System.out.println("OK");
              }
          });
      }
  </code></pre>