Inconsistent style behavior between Perspective Tables

I have two tables in Ignition. Both of them have data transformed using the logic in this article to render the rows with a specific color depending on the data within said rows.

Despite the fact that these two tables are being provided data in the exact same format with the exact same header configuration, only one of them is behaving properly.

Table with expected appearance (colored rows):



Table with undesired appearance (improper columns and no colored rows):



Why are these two tables with what appears to be the same setup rendering so much differently?

It maybe does not like that one of your item keys is value when value is a key that is used by ignition to determine what data to use.

Change the column name to be something like 'itemValue' and see if that corrects it.

Edit: I just tested this on a fresh table. Adding the key value as an object makes the table render incorrectly. Changing the key name to anything else restores the rendering to the expected behavior. Change the column name.

5 Likes