How to color full federated items in the grid?

Hi,

maybe somebody has an idea how to solve this one. I have a full federated ItemType that contains a couple of yes/no columns. The data is displayed as standard grid in Aras. I want to highlight the yes/no values in the grid.

Coloring regular ItemTypes is possible with an onAfterGet Method that overwrites the CSS property. There are samples available in this forum that show how to do it. 

But this approach doesn´t work for full federated Items, as the physical table inside Aras is empty and we just lock at datasets from another database.

I already discovered, that I can fill the Aras 'CSS'  property in the SQL-view that I use for quering the data. But unfortunately, my current SQL view is very complex. I would have to do a lot of SQL queries for building the correct stylesheet string for the CSS property column. 

Does anybody know a simpler approach to solve this use case?

Thanks for any feedback!
Angela