I’m sure this is a n00b question, but I couldn’t locate it in the docs or here…

I have a table with 3 columns. If a value in column 1 is clicked, i want to go to page 2. If a value in column 2 is clicked, I want to go to page 3.

Input is much appreciated

2 answers

Hello, you could not do this directly since the column (or row, or cell) of table is just a part of an element, and event is always for the entire element.

However you could workaround this by handling event for the table element and check the current selected column (or row, or cell). Here is an example:



Thanks for the reply. I’ll give that a go!


This question is now closed