pxlrbt / filament-excel

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

Problem with download #193

Closed papipsycho closed 3 months ago

papipsycho commented 3 months ago

Hello,

I have a strange issue when i click on the export button from the BulkActionGroup is not working (i mean is not downloading without any error), but if i click on the button created by ExportBulkAction is working, but i need to customize the columns

->bulkActions([
                Tables\Actions\BulkActionGroup::make([
                    Tables\Actions\DeleteBulkAction::make(),
                    ExportAction::make()->exports([
                        ExcelExport::make()->withColumns([
                            Column::make('domain'),
                            Column::make('created_at'),
                        ]),
                    ])
                ]),
                ExportBulkAction::make()

            ]);
pxlrbt commented 3 months ago

You are mixing up BulkExportAction and ExportAction. Just use the BulkExportAction. You can customize the columns the same way.