pgferro
pgferro
FFilament
Created by pgferro on 9/17/2024 in #❓┊help
Persistent search selections on table
Hi All, is there a way to persist the search on a searchable column ? For example : i search for something and select the record i search for something else and select another record both records keep being selected and actionable Is it possible ? Thanks !
4 replies
FFilament
Created by pgferro on 9/5/2024 in #❓┊help
Display view in new tab
Hi all, I have this BulkAction to print some labels:
BulkAction::make('print_labels')
->label('Stampa Selezionati')
->icon('heroicon-o-printer')
->color('success')
->action(function (Collection $records) {
$ids = $records->pluck('id')->toArray();
$url = route('print-labels', ['ids' => implode(',', $ids)]);
return redirect()->away($url);
})
->deselectRecordsAfterCompletion(),
BulkAction::make('print_labels')
->label('Stampa Selezionati')
->icon('heroicon-o-printer')
->color('success')
->action(function (Collection $records) {
$ids = $records->pluck('id')->toArray();
$url = route('print-labels', ['ids' => implode(',', $ids)]);
return redirect()->away($url);
})
->deselectRecordsAfterCompletion(),
Is there a way to open the view in a new tab ? Thanks !!
2 replies
FFilament
Created by pgferro on 5/3/2024 in #❓┊help
Custom BulkAction
Hi guys, newbie here... in a table i would like to pass the selected record to a controller and then perform some operations with the data. Here is what i have When I click on the action button nothing happens
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),

BulkAction::make('print_label')
->label('print')
->color('success')
->icon('heroicon-o-printer')
->action(function($livewire) {
url(route('printlabels', ['options' => $livewire->getSelectedTableRecords()]));
})

]),
]);
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),

BulkAction::make('print_label')
->label('print')
->color('success')
->icon('heroicon-o-printer')
->action(function($livewire) {
url(route('printlabels', ['options' => $livewire->getSelectedTableRecords()]));
})

]),
]);
Thanks for the help!!
13 replies
FFilament
Created by pgferro on 4/15/2024 in #❓┊help
Summaries in filtered table
Hi guys, is it possible to use summaries in a table with filters applied, so that the summary shows the values based on filters ? Thanks !!
3 replies