How to create row that when clicked redirects user to new page
How to create row that when clicked redirects user to new page
chandlergersh
Posts: 3Questions: 2Answers: 0
Hello,
I would like to create a data table such that if the user clicks a row, the row acts as a button and redirects the user to a new page (so essentially the row itself is a button with a hyperlink). Does anyone know how to add or create this functionality?
Thanks
This discussion has been closed.
Answers
Hi @chandlergersh ,
Yep, you can do this in the
rowCallback
- the first parameter is the node, so you can just set up aclick
event handler there.Cheers,
Colin