title: How to set value to specific tablecell Index in tableview JavaFx?
body: <p>I tried to set value in specific column index (cell), how to do this in javafx, I tried many methods to do that but every time my trial fail</p>
  
  <pre><code>//First try
  productName.setCellValueFactory(new PropertyValueFactory(product.getCode()));
  
  //Second try
  name.setCellValueFactory(c-&gt; new SimpleStringProperty(c.getValue().getTestBedName()));
  
  //Thrid try
  productCode.setCellValueFactory(new Callback&lt;CellDataFeatures&lt;Product, String&gt;, 
  ObservableValue&lt;String&gt;&gt;()
  {
      @Override public ObservableValue&lt;String&gt; call(CellDataFeatures&lt;Product,                                 
      {
          return new SimpleStringProperty(c.getValue().getCode());
      }
  });
  </code></pre>