Put an hyperlink in a grid cell

Use this board to ask questions or have discussions with other Genie users.
Post Reply
vijo
Profound User
Posts: 28
Joined: Thu Jun 25, 2015 4:47 pm
First Name: Vincent
Last Name: Jonis
Company Name: oo2
Contact:

Put an hyperlink in a grid cell

Post 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.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Put an hyperlink in a grid cell

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests