Add a table in a custom filament page using table builder
Good day! I am new to filament and I want to display a table in a custom filament page using the table builder. However I am getting an error:
Argument #1 ($table) must be of type Filament\Tables\Table, Filament\Infolists\Infolist given, called vendor\filament\infolists\src\Concerns\InteractsWithInfolists.php
Custom Page:
View:
Should I use other ways to do this such as livewire component, table widget, or hard coding a table then pass the data?
Thank you.Solution:Jump to solution
I think you need to implements HasTable like this
```php
use Filament\Tables\Contracts\HasTable;
use Filament\Tables\Concerns\InteractsWithTable;
...
2 Replies