How to Target URL From Hidden Column in Clickable Row
-
Hi Tobias,
After having set up a clickable row with JavaScript (like explained here: https://www.ads-software.com/support/topic/make-row-clickable/), I created an additional (hidden) column that holds the URL. I could, of course, use “href” in one of the other columns but it’s way easier to copy and paste the URL in an extra one rather than having to edit hundreds of entries.
Now I’m trying to figure out how to target the link in that particular hidden column, just like I did with sorting in another example:
“columnDefs”: [ { “orderData”: [ 0 ], “targets”: [ 1 ] }, { “visible”: false, “type”: “date”, “targets”: [ 0 ] } ]
The respective table has a total of 5 (4 visible + 1 invisible) columns, and I need any clicks to go to the URL from the hidden last column (#5).
Do you have a solution ready, or could you put me in the right direction for me to try out myself?
Many thanks!
- The topic ‘How to Target URL From Hidden Column in Clickable Row’ is closed to new replies.