Open view modal on table row click without `ViewAction` in `recordActions()`
Hi all
I'm trying to make clicking on a table row open the view modal, without including the View button on the row.
Clicking the row works fine when
ViewAction
is in recordActions()
, but if I remove it from there and do this:
I get a Unable to call component method. Public method [view] not found on component
exception.
Any ideas? I'm using v45 Replies
Bump
Not got onto v4 yet, but in v3:
Thanks, yeah that’s what I’m doing atm. But I’d rather not render the extra html if I can avoid it.
I think currently it's not possible.
https://github.com/filamentphp/filament/discussions/6830
GitHub
Open record in modal without viewaction · filamentphp filament · ...
When I add a ViewAction to my table a new column is created that gives me the opportunity to open the record in a modal. But I would rather like the row's click to trigger the modal popup and t...
@Lirux Ah right ok. Thanks for the link.