title: Can't select different cells in same row of tableview JavaFx
body: <p>I have a TableView, where I need to enable the selection of any cells(one at a time). For now, I use this code:</p>
  
  <pre><code>        tableView.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {
          @Override
          public void changed(ObservableValue observableValue, Object oldValue, Object newValue) {
              if(tableView.getSelectionModel().getSelectedItem() != null)
              {
                  TableView.TableViewSelectionModel selectionModel = tableView.getSelectionModel();
                  ObservableList selectedCells = selectionModel.getSelectedCells();
                  TablePosition tablePosition = (TablePosition) selectedCells.get(0);
                  String val = (String)tablePosition.getTableColumn().getCellData(newValue);
                  System.out.println("Selected Value: " + val);
                  selectionTextField.appendText(val);
              }
          }
      });
  </code></pre>
  
  <p>The problem is, I can't get the values of different cells in the same row after each other. I think it's because it's the same row, the selection listener is not triggered. I tried clearSelection(), but then I get out of bounds exception, and I read somewhere that I cant change the table model in the same listener. Any tips? </p>
  
  <p>Thank you.</p>