make table row clickable

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

fronsky
Ebase User
Posts: 86
Joined: Thu Mar 08, 2018 2:52 pm

make table row clickable

#1

Postby fronsky » Sat Feb 16, 2019 3:47 pm

Is it possible to make a (display only) table row clickable to activate a javascript?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

Re: make table row clickable

#2

Postby Jon » Mon Feb 18, 2019 9:03 am

Select a column that you want to be a hyperlink, click the Hyperlink checkbox in the Column Properties panel. Then add a script to the On Click event in the same properties panel. When the user clicks on the link, the table row will be set automatically on the server to the clicked row, so you can just refer directly to table columns in your script to get the row's values.
0 x

fronsky
Ebase User
Posts: 86
Joined: Thu Mar 08, 2018 2:52 pm

Re: make table row clickable

#3

Postby fronsky » Mon Feb 18, 2019 11:16 am

Thank you. How simple it sometimes is :D
0 x


Who is online

Users browsing this forum: No registered users and 9 guests