Closure on column action doesn't work
Hi, there,
I'm trying to put an action on a column through a closure. I don't want the action to open if there is no
I've noticed that as soon as I pass a closure in the action, the click event is no longer “mountTableAction” but “callTableColumnAction”.
If anyone has any ideas
I'm trying to put an action on a column through a closure. I don't want the action to open if there is no
$record->url, however, as soon as I pass a closure the action doesn't fire at all and the modal never opens.I've noticed that as soon as I pass a closure in the action, the click event is no longer “mountTableAction” but “callTableColumnAction”.
If anyone has any ideas
Solution
I think the problem here is that the action isn't getting registered. Try this: