Remi
Render Single Table action on different place
Update: i sort of got it working, but it feels quite hacky:
i added the Action to the getTableHeaderActions array, and added
->view('custom-view')
this custom-view is an empty blade file. This way it doenst render anything in the headeractions. Then i added the blade directive to render the html on the new position.
Would be nice if i could just do ->hidden()
in the tableHeaderActions and the modal would still work when triggering from another button. Or a new callback like ->invisible()
Or am i missing a completely obvious better way?5 replies