© 2026 Hedgehog Software, LLC

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

Is it possible to call a table action from a TextColumn cell?

I have a table in my resource with a few table actions.
Is there any way to call one of the actions when the users clicks on a Tables\Columns\TextColumn cell?

I have a table action named "show-message-text-modal" and I can select the table action using this closure, I just don't know how to trigger it or call it.

Tables\Columns\TextColumn::make('text')
                    ->placeholder('No text.')
                    ->action(function (Message $record, Table $table) {
                        $table->getAction('show-message-text-modal');
                        // I have access to the action
                    }),
Tables\Columns\TextColumn::make('text')
                    ->placeholder('No text.')
                    ->action(function (Message $record, Table $table) {
                        $table->getAction('show-message-text-modal');
                        // I have access to the action
                    }),
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

Is it possible to add a action on a textcolumn
FilamentFFilament / ❓┊help
3y ago
Is it possible to refresh table content on action?
FilamentFFilament / ❓┊help
3y ago
Is it possible to load a table inside an Action Form?
FilamentFFilament / ❓┊help
2y ago
Is it possible to apply a filter from an action?
FilamentFFilament / ❓┊help
3y ago