Hello all !
I display in a grid a database table which contains urls. Is it possible to transform these urls into clickable hyperlinks.
Put an hyperlink in a grid cell
-
- Profound User
- Posts: 28
- Joined: Thu Jun 25, 2015 4:47 pm
- First Name: Vincent
- Last Name: Jonis
- Company Name: oo2
- Contact:
-
- 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
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:
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?
Code: Select all
<a href="http://myurl" target="_blank">http://myurl</a>
http://www.profoundlogic.com/docs/displ ... Genie+Grid
Does that help?
Who is online
Users browsing this forum: No registered users and 0 guests