protected function getTableHeaderActions(): array { return [ Action::make('export-users') ->action(function (array $data, $livewire) { // how to get all selected records here? // I can get all records, all filtered records, but selected? dd($livewire->getFilteredTableQuery()->get()); }) ]; }
getTableHeaderActions()