© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Azorky

Execute php code when clicking on link in custom column

I have a custom column:
`CopyUrlColumn::make('linkedin_url')->sortable()->searchable()
`CopyUrlColumn::make('linkedin_url')->sortable()->searchable()


This column contains an url and when the url is clicked, some js is executed that copies text to the user's clipboard.

When this like is clicked, I would like to execute some php code as well because I need data from the session, how can I do this?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How do I execute Alpine code when clicking on a modal?
FilamentFFilament / ❓┊help
3y ago
Filtering by clicking on column
FilamentFFilament / ❓┊help
3y ago
Custom Action on custom column.
FilamentFFilament / ❓┊help
9mo ago