Named Query, Power table, Row color based off column value

To do that you would use the component scripting for the power table. The extension function configureCell. You would want to check for the value using something like:

 val = self.data.getValueAt(rowIndex,"column title")

 if val >= 0 and val <=90:
 	return{'background': 'red'}
 if val >= 91 and val <=120 :
 	return{'background': 'yellow'}
3 Likes