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
Add a Status Indicator Add On to your column:
Click here after it is created:
Click here to go into its settings:
Then set it up like so, choose your icon.
You will get an icon on your column:
You can change the icon based on value by adding multiple States each with a condition:
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!