pxlrbt/filament-excel ExportAction doesn't work with simple/modal (ManageRecords) resources

Hello, I am trying to use header action of Filament Excel on a simple/modal (ManageRecords) resource (using Filament v2)
use pxlrbt\FilamentExcel\Actions\Tables\ExportAction;
use pxlrbt\FilamentExcel\Exports\ExcelExport;

->headerActions([
ExportAction::make()
->icon('heroicon-o-arrow-down')
->exports([
ExcelExport::make()
->fromTable()
->queue()
->withChunkSize(100),
]),
]);
use pxlrbt\FilamentExcel\Actions\Tables\ExportAction;
use pxlrbt\FilamentExcel\Exports\ExcelExport;

->headerActions([
ExportAction::make()
->icon('heroicon-o-arrow-down')
->exports([
ExcelExport::make()
->fromTable()
->queue()
->withChunkSize(100),
]),
]);
and i get
Method App\Filament\Resources\CompanyResource\Pages\ManageCompanies::getTable does not exist.
Method App\Filament\Resources\CompanyResource\Pages\ManageCompanies::getTable does not exist.
when i trigger export action. i even tried
use pxlrbt\FilamentExcel\Actions\Pages\ExportAction
use pxlrbt\FilamentExcel\Actions\Pages\ExportAction
page action instead of table action, still got same error. Does anybody encountered same error before? How can i make it work? Thanks
1 Reply
Dennis Koch
Dennis Koch13mo ago
Can you please share the stack trace via Flare as in #✅┊rules

Did you find this page helpful?