© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
6 replies
Dorin

open Record URL from $table in new tab

Hello, i have a custom URL on a documents table
return $table
  ->recordUrl(fn ($record): string => $record->getUrl())
return $table
  ->recordUrl(fn ($record): string => $record->getUrl())

What is the right way to open the URL in a new tab?
In the table index.blade is the
\Filament\Support\generate_href_html($recordUrl)
\Filament\Support\generate_href_html($recordUrl)
called, buth without parameters.
Is it possible to implement this or maybe overrite the generate_href_html for now?
Solution
hum.. The
openUrlInNewTab
openUrlInNewTab
method is available on table columns, TextColumn for example
->url(fn (Model $record): string => '...')
->openUrlInNewTab()
->url(fn (Model $record): string => '...')
->openUrlInNewTab()
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Table open url in new tab
FilamentFFilament / ❓┊help
3y ago
Table action to open url in new tab (asynchronous)
FilamentFFilament / ❓┊help
3y ago
Possible to open url in new tab with table form action?
FilamentFFilament / ❓┊help
3y ago
Open in new tab
FilamentFFilament / ❓┊help
2y ago