Export to Excel in V3. not working Plugin. Any other way, please?

I have been using v2 and in every list (index) of my customers resources they have the button to EXPORT SELECTED records to XLS, or CSV or PDF. That plugin is not working for version 3. Is there a different way that I can do this export by myself? Maybe a BulkAction I can make on my own programming? My problem is HOW CAN I GET the selected records only? Tnanks everyone.
9 Replies
cheesegrits
cheesegrits17mo ago
Not sure which plugin you were using, but @Dennis Koch has a tag (v2.0.0-alpha) of his filament-excel package which works with v3 alpha, which I helped migrate and am using. I can't promise it works with v3 beta, as I'm holding off on moving to v3 Beta / LW3 until LW3 is out of beta, as my Filament v3 alpha sites are in production. But if there are any changes needed, they would most likely be small, and I'd be happy to help if Dennis isn't available.
Albert Lens
Albert LensOP17mo ago
I'll give it a try and confirm you. Thank you very much.
Albert Lens
Albert LensOP17mo ago
Hello. I have tried the plugin you mention, but it throws a trivial error about the ICON. But I do not know how to find and correct it.
Albert Lens
Albert LensOP17mo ago
The new heroicons do not include the o-download one. Any ideas of where to fix this, please?
Albert Lens
Albert LensOP17mo ago
Now I have solved the ICON problem adding this: ExportBulkAction::make()->icon('heroicon-o-check-circle') Or any other icon you like. Then it passes that part and you can click on EXPORT but it throws a new error:
Albert Lens
Albert LensOP17mo ago
Method App\Filament\Resources\TipoExpedienteResource\Pages\ListTipoExpedientes::hasToggleableTableColumns does not exist.
Dennis Koch
Dennis Koch17mo ago
I guess it’s not fully compatible yet. I haven’t had the time to try it out
Albert Lens
Albert LensOP17mo ago
OK. We will wait till valuable people like you helps all of us. Thank you. If you need me testing something, count on me.
cheesegrits
cheesegrits17mo ago
I suspect you installed the wrong version. I'm not at home atm, I'll check which one you need when I get home.
Want results from more Discord servers?
Add your server