title: Javafx tableview on checkbox uncheck, disable button on same row but different column
body: <p>Below image explains how I have populated my table:
  <a href="https://i.stack.imgur.com/VajPg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VajPg.png" alt="enter image description here"></a></p>
  
  <p>As you can see, I need to disable the <code>Installments</code> column button once the <code>Collected</code> column checkbox of related row is unchecked and vise versa.</p>
  
  <p>Here is my approach so far :</p>
  
  <pre><code>colected_column.setCellValueFactory((TableColumn.CellDataFeatures&lt;Member, CheckBox&gt; param) -&gt; {
          Member mRow = param.getValue(); // type objects contained within the TableView
          CheckBox checkBox = new CheckBox();
          checkBox.selectedProperty().addListener((ov, old_val, new_val) -&gt; {
  
              // javafx.scene.control.Button typed ObservableValue returns as cell value
              Button button = installments_column.getCellData(mRow);
              button.setDisable(!new_val);
          });
  
        ...
        return new SimpleObjectProperty&lt;&gt;(checkBox);
  }
  </code></pre>
  
  <p>But this approach does not meet the requirement, button stays enable all the time. Any help would be appreciable. Thank you.  </p>
  
  <p><a href="https://i.stack.imgur.com/xzAAU.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xzAAU.gif" alt="enter image description here"></a></p>