I have a table on a page. For each row in the table, there is a PDF stored on the server.
I want to add a column to the table that is a hyperlink to the corresponding PDF.
Any suggestions?
Hyperlink in Table
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 12
- Joined: Sat Apr 04, 2015 3:43 pm
- Contact:
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
How about this, should display the PDF in a popup:
1. Add a column to the table containing the URL of the corresponding PDF - don't display this column.
2. Add an image column to the table to give the user something to click in order to display the PDF. This could also be a button or a hyperlink.
3. Then on the server display the PDF when the image is clicked, something like this:
1. Add a column to the table containing the URL of the corresponding PDF - don't display this column.
2. Add an image column to the table to give the user something to click in order to display the PDF. This could also be a button or a hyperlink.
3. Then on the server display the PDF when the image is clicked, something like this:
Code: Select all
form.displayUrl(tables.MYTAB.PDF_URL.value);
0 x
Who is online
Users browsing this forum: No registered users and 18 guests