I'm trying to do row-level data diffing between two tables. These tables have the same fields (an identical staging table and a production table). Records are tracked by their ids.
Interesting use case, glad you were able to find some resources to help figure out a work around.
It looks like that is a feature request that has been made, I can attach this thread and add a +1 for you to this ticket. For now, there is unfortunately no way to add styles to dynamic columns/tables
One crazy idea I thought of would be to have expandable rows, have the rows expand by default. And inside of the expanded row you could have some boolean logic like you snippet that would change the color for some component in the expanded row to give a visual queue.