Hello @Baraheem,
What version of ThingWorx are you currently using?
I recommend not trying to render a mashup within a grid. Functionality can not be guaranteed and formatting can be an issue. If you need a grid kind of layout and the additional functionalities of a mashup you should look at the collection widget.
To replace a link in a grid with a clickable image you can build the html in your service like the following. Note you can use a full URL or a link to an image in one of the TWX Repositories.
let result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({
infoTableName: "InfoTable",dataShapeName: "EntityList"});
result.AddRow({name:"PTC Link 1", description:"<a href=\"https://ptc.com\">" +
"<img src=\"https://www.ptc.com/[PATH]/ptc-white-logo-footer.svg\" style=\"width:25%\"/></a>"});
result.AddRow({name:"PTC Link 2", description:"<a href=\"https://ptc.com\">" +
"<img src=\"/Thingworx/FileRepositories/SystemRepository/images/windchill-RGB-color.png\" style=\"width:25%\"/></a>"});
Then within both the Advanced Grid Widget and the Grid Widget ( 9.3.X) column formatting should be HTML With Formatting.
Thanks,
Travis