How to make each table cell a link?

Hi, how can I make each cell of table a link linking to different retool pages.

For now I have a coloumn as a URL but every cell of that coloumn leads to only one URL.
Here's the Table I'm working upon.

I want to open country pages (For eg: If I click on Australia, page for Australia should open and same for other countries as well)

Is there any way I can do it? Or any other trick using which I can accomplish this task?

Thanks
Ritesh.

I would recommend rendering the column as html and using <'a'> tags to turn it to a link

Thanks for the reply DavidD,

I tried rendering coloumn as HTML but I am not able to figure out where I should use the <'a'> tag.

Here's the screen I am getting

Would love to get further help on exactly where I should include <'a'> tag.

Thanks
Ritesh

here's an example of using the 'a' tags. you'll need to update it for your needs but that should get you started

1 Like

Still the problem remains, Each cell in the coloumn leads to only one destination in this case as well (In your case google.com).

How to fix this?

Thanks
Ritesh

it's not quite clear where the website you want is coming from, but if it is in the same table, you could substitute "google.com" for "currentRow.XXXX" to make it dynamic

So, the website I want is coming from another Retool page.
For eg: After clicking on Australia, I want to open another retool page which
I have created.

Sorry for so many questions.
And thank you so much for your time.

Thanks
Ritesh

Hello all, coming back to refresh this topic! :smiling_face_with_sunglasses:

You can now change the format of a table cell to Link. Check out the screenshot below for an example.

Hey, how can I use this but instead of having the link showing in the cell I would like a name to show in the cell that has the link, currently I have it as an HTML element with an a tag but then the export doesn’t work because it includes all the html syntax that I dont want in the download.

I haven't specifically tested this, but would a markdown column work for you? It might have the same issue as HTML, though.

Ah yeah same issue, the formatting gets pulled into the download, and ideally with the html i can use target=β€œ_blank” as well.