136
Views
4
Comments
Solved
[OutSystems Data Grid Web] How to let GridColumnLink title show an icon instead of a text
Question
outsystems-data-grid-web
Web icon
Forge asset by OutSystems

I have in my datagrid a column with the GridColumnLink type. The URL behind it works fine when I click on the cell. The only things is, I want to put a paperclip icon in the cell. Now it shows the ID of the record. Is this possible? The paperclip icon is added by me as a resource but I prefer to point to the Richwidgets paperclip icon.


2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hello.

Have you true to take a look at the sample application available on Forge where you have some advanced scenarios that include adding images



Looking at what is done there you can achieve the use case you mentioned.

Cheers,
GM

2019-11-11 17-10-24
Manish Jawla
 
MVP

Hi Raymond,

please refer the screenshot below, yes you can add icon along with link in the datagrid and you can find the sample code as well:

2025-11-21 21-39-01
Raymond Vermeer

Hi Manish,

this is not the GridColumnLink type in the example but the GridColumnDownload or GridColumnUpload. With these one you can't choose the icon next to it by the way.......

2023-02-21 14-20-36
Nicole Burkhart

I am having the same problem with OutSystems Data Grid Web.  I have sent in a URL and linked the JSON URL field to the GridColumnLink widget.  From what I've researced, the Title field in the properties of the GridColumnLink widget is where you should put the display name of the link.  So if you want the link text to be "Click Here" you would put it in the Title field.  I am trying to make the link text dynamic based on a field in the JSON and that is not working.  When I put the field name in Title, it just displays the hard code for every line in the data grid.  There must be a way to get dynamic link text?  Can someone help? Thanks

2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hello.

Have you true to take a look at the sample application available on Forge where you have some advanced scenarios that include adding images



Looking at what is done there you can achieve the use case you mentioned.

Cheers,
GM

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.