0

Is there a possibility to change the background-color of a TableCell in a TableView dependent on its text/value, while rendering?

For each column I set a CellValueFactory to fill it with my data like this:

[...].setCellValueFactory(new PropertyValueFactory<Row, String>("..."));

I thought about building a Callback and set it as a CellFactory afterwards, but i dont know how to get the current Cell as a TableCell to modify its backgroundcolor...

Or how to iterate through every Cell after rendering and check the value?

Gabriel Petrovay
  • 20,476
  • 22
  • 97
  • 168

0 Answers0