Page 1 of 1

Put an hyperlink in a grid cell

Posted: Tue Jul 07, 2015 4:27 am
by vijo
Hello all !

I display in a grid a database table which contains urls. Is it possible to transform these urls into clickable hyperlinks.

Re: Put an hyperlink in a grid cell

Posted: Tue Jul 07, 2015 9:07 am
by Scott Klement
Is it possible to change the data in the file to contain HTML tags? For example, the field in the database file could contain data like this:

Code: Select all

<a href="http://myurl" target="_blank">http://myurl</a>
Assuming that the data is read from the file using the "database file" property of the grid (and the other related properties) that should make the link clickable... If the data is not already formatted like that in the file, you could potentially write a web service (called via the data url property) that would add the HTML tag. More info on that can be found in the section titled 'Data from a program or web service' at the following link:
http://www.profoundlogic.com/docs/displ ... Genie+Grid

Does that help?