How to render a boolean as true/false in a table instead of a checkbox

Hello! I am using ignition perspective and want to render a boolean tag in a table as true/false and not a checkbox. According to the docs, I just need to set the column.boolean property to value instead of checkbox. As shown in the screenshot below, I have the 'boolean' property of the 'value' column set to 'value' but it is still rendered as a checkbox.

I know that I can set the column.render property to string instead of auto, but that messes up the formatting that I have for other datatypes within the table (ex: formatting floats breaks because they are changed to a string).

Please let me know if I can provide anymore info, thank you!

  • ignition edge 8.1.21
  • perspective 2.1.21

Use a cell render view. Have that inner view check the actual datatype of the cell value to control the formatting of a label component.

The Perspective table is not really designed to handle multiple different data types in the same column. (Nor are Vision's tables, fwiw.)

3 Likes

That'll work, thank you!