Delete Bulk Action

I have a table list that has delete bulk action (default), before I delete all data, I need to gather all selected records. Unfortunately, I was not able to do it. I've tried, ->before, ->using, and ->action but I did not get all the ids.
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
])
1 Reply
Majid Al Zariey
Majid Al Zariey8mo ago
The DeleteBulkAction will only delete the record that are selected in the table. If you want to delete all the record you could create a page action with your logic and add the action to the ListPage
Want results from more Discord servers?
Add your server