Compare dynamic column data between identical tables

Hello,

This is an extension of Compare Column Data in Tables.

My use case is similar to Deploy/migrate changes from QA to Production.

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.

One solution is to set the column's background to

{{ self !== table1.data.column_name[i] ? '#ffaaaa' : 'white' }}

But I'm filling up the tables with dynamic columns, is there any way to do something like this? I don't see the styling option for dynamic tables. TIA

Hi @johncale,

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 :sweat:

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.