Exception: ::getTable does not exist #240

Closed
opened 2025-11-20 14:22:42 +00:00 by gizburdt · 4 comments
gizburdt commented 2025-11-20 14:22:42 +00:00 (Migrated from github.com)

I have this most basic setup. Using 2.5 en filament 3.3.45

use App\Filament\Resources\DeviceResource;
use Filament\Actions;
use Filament\Resources\Pages\ViewRecord;
use pxlrbt\FilamentExcel\Actions\Pages\ExportAction;
use pxlrbt\FilamentExcel\Exports\ExcelExport;
use pxlrbt\FilamentExcel\Columns\Column;

class ViewDevice extends ViewRecord
{
    protected static string $resource = DeviceResource::class;

    protected function getHeaderActions(): array
    {
        return [
                ExportAction::make()->exports([
                    ExcelExport::make('device_export')
                        ->withColumns([
                            Column::make('serial_number')
                        ]),
                ]),
            ])
      }
}

When I push the export button I get this error:

BadMethodCallException
vendor/livewire/livewire/src/Component.php:136
Method App\Filament\Resources\DeviceResource\Pages\ViewDevice::getTable does not exist.

Did I miss something? Thanks! :)

I have this most basic setup. Using `2.5` en filament `3.3.45` ``` use App\Filament\Resources\DeviceResource; use Filament\Actions; use Filament\Resources\Pages\ViewRecord; use pxlrbt\FilamentExcel\Actions\Pages\ExportAction; use pxlrbt\FilamentExcel\Exports\ExcelExport; use pxlrbt\FilamentExcel\Columns\Column; class ViewDevice extends ViewRecord { protected static string $resource = DeviceResource::class; protected function getHeaderActions(): array { return [ ExportAction::make()->exports([ ExcelExport::make('device_export') ->withColumns([ Column::make('serial_number') ]), ]), ]) } } ``` When I push the export button I get this error: ``` BadMethodCallException vendor/livewire/livewire/src/Component.php:136 Method App\Filament\Resources\DeviceResource\Pages\ViewDevice::getTable does not exist. ``` Did I miss something? Thanks! :)
pxlrbt commented 2025-11-20 22:47:29 +00:00 (Migrated from github.com)

No, this looks like a bug. Seems like you are the first person using this on a non-List page since 2023 😅 I'll look into it.

No, this looks like a bug. Seems like you are the first person using this on a non-List page since 2023 😅 I'll look into it.
gizburdt commented 2025-11-26 08:35:53 +00:00 (Migrated from github.com)

Awesome!

Awesome!
gizburdt commented 2025-12-10 10:04:11 +00:00 (Migrated from github.com)

Do you have any updates on this? :)

Do you have any updates on this? :)
pxlrbt commented 2026-02-17 18:20:19 +00:00 (Migrated from github.com)

I'll ship support with the next version.

I'll ship support with the next version.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pxlrbt/filament-excel#240
No description provided.