Multiple values in cell

Hi, there can we have text with icon (phone number + icon ) in table cell ?
and also I want to perform some action on click of that icon. Is it possible.

I can put the icon through custom css but I want to do it using retool features so that I may hookup the functions

Thnax :slight_smile:

Add a Status Indicator Add On to your column:

image

Click here after it is created:

image

Click here to go into its settings:

image

Then set it up like so, choose your icon.

image

You will get an icon on your column:

image

You can change the icon based on value by adding multiple States each with a condition:

image

1 Like

Thanks @bradlymathews for the thorough walkthrough on how to set up different icons based on data states!

@Bilal_Anjum For the last part of your question on how to allow users to perform a click action, the best way is likely going to be adding an event handler on the cell, and you can create separate event handlers for each data condition/different action you want. You could add specific logic in the "Only run when" field. Hope this helps!