Table Builder with dynamic array source?
Has anyone found a way to use the table builder with an array source instead of a eloquent query? I'd love to use the table builder but don't have an Laravel Eloquent data source. I've used the sushi eloquent array driver but can't pass in custom variables to get custom data from an api.
I want to make an api call
consume the payload into an array
display the array as a table.
I could use Sushi, but the api call is dynamic according to a query string.
7 Replies
I'm in the same situation and I think I'm going to use this plugin https://filamentphp.com/plugins/eightynine-reports, let's see how it goes.
V4 will solve this. You will be able to create tables from your own data
Great, that's good news. Do you have an estimate of when it might come out?
This year. Maybe around Q3
This is great news. So far, this is the only limitation I've had with Filament. It's a great tool.
I would love for filament to expose and document all layout components so that if something is missing, we can build our own with the same styles as filament.
We have some rudimentary documentation about those:
https://filamentphp.com/docs/3.x/support/blade-components/overview
sheeeeeeeeeeeeeeeeeeeeeeeeesh
I would prefer you to create your custom component using livewire and integrate with filament features such as actions and notifications.
Saloon as a solution comes with a lot of limitations.