Jump to content
  • 0

Creating a link in a column in a tabular report?


JaredL

Question

I have an aggregated tabular report.  Once I expand all the columns, I would like the data in one of the columns  become links (using JavaScript).  Please refer to the attached image.  In this case I would like the data in the column EVENTO become links.

 

Thanks!

Tabular.PNG

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello Jared,

 

We can achieve this without the use of JavaScript.

 

To achieve this:

1.) We would need to add an additional field in the table to hold the links.

2.) In your configuration DataPage, we can replace the EVENTO column with an HTML block column having:

EVENTO as the text, and the LINK field as the link.

If we look at the source, it should be something similar to:

<a href="[@field:LINK]"> [@field:EVENTO]</a>

 

You can also refer to this HOWTO article: https://howto.caspio.com/datapages/datapage-components/html-blocks/

 

Regards,

DN31337

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...