Make Table Links Clickable?

General issues related to the use of Metro 4
Post Reply
verticaLabrador
Posts: 2
Joined: Sun Jan 27, 2019 2:30 am
Status: Offline

Make Table Links Clickable?

Post by verticaLabrador » Sun Jan 27, 2019 2:33 am

Hi Folks,

First of all, what an incredible system. I'm using it to rapid prototype sites that I'm working on for a huuuge data system and it's such a neat way of putting together a gorgeous framework in seconds.

Second of all, a complete n00b question maybe, but, how do I make links in tables clickable to take me to another page? I've tried various methods to no avail.

Thank you!

verticaLabrador

User avatar
olton
Site Admin
Posts: 170
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Sun Jan 27, 2019 11:00 am

You can use data-on-draw-cell event to redraw cell content.

verticaLabrador
Posts: 2
Joined: Sun Jan 27, 2019 2:30 am
Status: Offline

Post by verticaLabrador » Sun Jan 27, 2019 12:23 pm

Sorry Olton... I'm an idiot. I should've explained a little better. How do i make each table row clickable as in a link to another page?

User avatar
olton
Site Admin
Posts: 170
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Sun Jan 27, 2019 1:55 pm

Table component can't contains click event for table row, but you can create your own event with js addEventListener fuction

Post Reply