pxlrbt / filament-excel

Excel Export for Filament Admin Resources
MIT License
355 stars 68 forks source link

Bulk export with all columns #126

Closed kossa closed 11 months ago

kossa commented 11 months ago

Hello,

In my table I'm not showing all columns, when I select some rows in the bulk it does not export all column from form but from the table, here is my code:

->bulkActions([
    ...,
    ExportBulkAction::make(),
]);
pxlrbt commented 11 months ago

Sorry, I don't understand your issue.

kossa commented 11 months ago

@pxlrbt In the table I'm showing 4 columns from DB, but in the form I have more then 10, when I make export it does not export all columns just the 4 columns in the table

pxlrbt commented 11 months ago

That's just the default. You can use fromTable() to use the table as a basis. Please read the readme.