Images in Perspective Tables

#1

Do perspective tables support the ability to insert Images in cells?

0 Likes

#2

You can set the column render mode to View and point it to a view that displays an image.

1 Like

#3

Thank you jpark
That worked a treat
Now I want to set a default size for the images/icons. It seemed to me that I could set viewPrams in the table and pass those to the embedded view. But I didn’t make that work.
What is the correct way to pass size params to the embedded icon?

Thank you

0 Likes

#4

And another question:
I want the image to depend on the value that would otherwise be displayed in the cell, ie

if(
“cell_contents” = 1,
“IconViews/TankImage”,
“IconViews/PipeImage”
)

How do I reference cell_contents in the viewPath?

Thanks

0 Likes