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(),
    ]),
  ])
Was this page helpful?