Using styles in a script transform?

Hi @bkarabinchak.psi, the others are correct, but for further context this may help: Changing colour of row based off value in cell in perspective table - #17 by cmallonee

The only difference is that instead of defining "style":{"backgroundColor":"#000000"} you would use "style":{"classes":"BadRecordCount"} as @Arnaud_Declerck has eluded.

To do this you will need to iterate through your data binding and create the appropriate structure, with the logic in place to assign the appropriate style class.

4 Likes