Nova style relationship links on table builder
So i'm migrating an admin panel from nova to filament v3 and struggling to find the equivalent of novas relationship methods to provide a quick shortcut to a related resource - an example would be displaying the users name in a posts table and clicking on the name takes you to that user resource page.
I can use column relationships to get the users name, or actions to provide a clickable link but is there out of the box functionality to combine these without having to revert to custom views etc?
3 Replies
are you using the url() method on the text column?
@Dan Harrin I was not! just taken a look and it seems like a good fit, thanks!
url(fn ($record) => AnotherResource::getUrl('edit', ['record' => $record->relationname]))