How is your table build? Is it build dynamically, so it has 2 listviews (1 for the rows and inside of it 1 for the columns)?
In that case, each cell is represented by a entity (probably a view object).
Now you can start working with dynamic classes for the styling based on that object.
If a attribute is true/false, give it a red background or border.
You have to refresh the table or cell to make this work.