Table `recordAction()` with redirect
Hi all. When a table row is clicked, I need to run some code to generate a URL then redirect to it. It's a SSO link so it has to be generated on click (so I can't use
recordUrl
).
Does anyone know how I could do this? I've played around with recordAction
but haven't been able to find a working solution.Solution:Jump to solution
Yeah I tried that, didn't work unfortunately. I ended up figuring it out. You need to add the action to
->actions()
and then just call it by name eg ->recordAction('myAction')
. Thanks for the suggestion though.2 Replies
Laravel
Redirecting | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Solution
Yeah I tried that, didn't work unfortunately. I ended up figuring it out. You need to add the action to
->actions()
and then just call it by name eg ->recordAction('myAction')
. Thanks for the suggestion though.