Call Route from row data
Call Route from row data
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
This discussion has been closed.
Answers
One option is to use window.open(). This SO thread shows some ways to pass parameters. Is this what you are looking for?
Kevin
OK I see this is not related to datatables once I get the value from the row.
Thnak