title: How to change row height of TableView on the fly?
body: <p>I'd like to change the row height of JavaFX TableView when user selects/deselects a CheckBox. The only way I could find is via CSS, so I tried:</p>
  
  <pre><code>if (someCheckBox.isSelected())
      tableView.setStyle(".table-row-cell {-fx-cell-size: 60px;}");
  else
      tableView.setStyle(".table-row-cell {-fx-cell-size: 20px;}");
  </code></pre>
  
  <p>But this does not work. Any suggestion would be appreciated.</p>