Custom Page
How can I add a filament table (I would actually need multiple) to my custom page?
I made it with
3 Replies
use
class MyCustomClass extends Page implements Tables\Contracts\HasTable
use Filament\Tables;
and then your view would be
I'm not sure how you would do multiple tables though
set the table data using protected function getTableQuery(): Builder
and set the columns using protected function getTableColumns(): array
Thanks! Would it perhaps be an idea to create a Widget for each table and show those? I'm new to filament, so still figuring everything out :p
If you wanted to show multiple tables then yes that might be the best way to do that