How to create row that when clicked redirects user to new page

How to create row that when clicked redirects user to new page

chandlergershchandlergersh 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

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @chandlergersh ,

    Yep, you can do this in the rowCallback - the first parameter is the node, so you can just set up a click event handler there.

    Cheers,

    Colin

This discussion has been closed.