Call Route from row data

Call Route from row data

TB_MikeTB_Mike Posts: 15Questions: 4Answers: 0

I would like to add a button that takes a piece of data from the row they currently have selected and pass it to another route opening that page with the data. Basically they click the row and hit a button to open a page that then does another API call using the row data to pass to the API call. Is this something that can be done?

I have it where I can get the alert by clicking on a row and show column data, now need to expand on that a bit.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,172Questions: 26Answers: 4,923
    Answer ✓

    One option is to use window.open(). This SO thread shows some ways to pass parameters. Is this what you are looking for?

    Kevin

  • TB_MikeTB_Mike Posts: 15Questions: 4Answers: 0

    OK I see this is not related to datatables once I get the value from the row.
    Thnak

This discussion has been closed.