I\'m using this table to display data in Table View:
import javafx.application.Application; import javafx.beans.property.IntegerProperty; import javafx.beans
Just change background color of empty rows using css
.table-row-cell:empty { -fx-background-color: white; -fx-border-color: white; }
and modify number of rows on the basis of combobox.