Adding a custom action component through a ViewColumn
I've created a action component in which I have included a method :
And on the view (blade) file i'm using {{ $this->joinAction }} like:
But i'm still getting an error that Property [$joinAction] not found on component:
What would be the correct setup to achieve this?
4 Replies
hi i can help you
DM
Please off your help here so that the solutions can help others.
use
action()
method in the ViewColumn:
this works! awesome
I could create a custom action and add it this way
thanks