Hello, tell me how to change the color of the rows or a specific cell in the table? In the swing it was easy to do with Render, but in javafx it is not clear.

    1 answer 1

    Hi. In order to change the color of the rows, you need to transfer to your rowFactory table, in which, in the implementation of the onUpdate method, you will write logic that will change the color.

    • But it is still not clear how to set a color, for example: every 2nd line or an arbitrary cell. - Bleser
    • The answer, of course, was late, but then you need to have something like a Label in each cell, which you will change color in certain cases - Andrew Bystrov