© 2026 Hedgehog Software, LLC

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

Move Table Actions to the right

If using the content-grid for tables instead of traditional tables, how can I move the column actions to the right? I've tried "justify-end" as extraAttribute, but it didn't work. But I can see inside the HTML that there's a "justify-start". How can I change this?
    protected function getTableActions(): array
    {
        return [
        Tables\Actions\ViewAction::make('view')
                                 ->form([])
                                 ->label('Details')
                                 ->button()
                                 ->color('primary')
                                 ->icon('heroicon-o-eye')
                                 ->modalHeading('Test')
                                 ->modalContent(fn ($record) => view('filament.modals.view-incident', ['record' => $record]))
                                 ->extraAttributes(['class' => 'justify-end'])
        ];
    }
    protected function getTableActions(): array
    {
        return [
        Tables\Actions\ViewAction::make('view')
                                 ->form([])
                                 ->label('Details')
                                 ->button()
                                 ->color('primary')
                                 ->icon('heroicon-o-eye')
                                 ->modalHeading('Test')
                                 ->modalContent(fn ($record) => view('filament.modals.view-incident', ['record' => $record]))
                                 ->extraAttributes(['class' => 'justify-end'])
        ];
    }
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

Move Header Actions to Footer
FilamentFFilament / ❓┊help
2y ago
Move default Form Actions?
FilamentFFilament / ❓┊help
2y ago
Align form actions on the right
FilamentFFilament / ❓┊help
3y ago
move repeater actions inline with the components
FilamentFFilament / ❓┊help
2y ago