Skip to main content
Advanced Tables provides full action customization following the same pattern as Filament’s columnManagerTriggerAction(). You can customize any action’s icon, label, tooltip, color, size, and more.

Customizing Trigger Actions

Trigger actions control the buttons that open the Multi-Sort popover, View Manager, and Quick Save modal:
use Filament\Actions\Action;
use Filament\Support\Icons\Heroicon;

AdvancedTablesPlugin::make()
    ->multiSortTriggerAction(function (Action $action) {
        return $action
            ->icon(Heroicon::OutlinedFunnel)
            ->tooltip('Sort by multiple columns')
            ->color('primary');
    })
    ->viewManagerTriggerAction(function (Action $action) {
        return $action
            ->button()
            ->label('My Views')
            ->icon(Heroicon::OutlinedSquares2x2);
    })
    ->quickSaveTriggerAction(function (Action $action) {
        return $action
            ->icon(Heroicon::OutlinedBookmark)
            ->tooltip('Save current view');
    })