I have a Power Table that displays a set of Integers, Strings and Datetime values from a SQL Query. I would like to display an icon, based upon the value of the cell in one column. I have a script running in the configureCell function. The code is as follows:
if colName == "IG_Alarm_Icon":
if value == 1:
return {"iconPath" : "Builtin/icons/16/Red_Bell.png", "text" : ""}
The Icon exists, the script runs (I also alternate the background of the rows in the same script), I get no error message.
There does not seem to be much documentation on the correct use of configureCell. If anyone has an idea, I would be much obliged.