pxlrbt/filament-excel

Problem with download

papipsycho opened this issue · 1 comments

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()

            ]);

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