Mercules πβ‘
FFilament
β’Created by Mercules πβ‘ on 7/3/2024 in #ββhelp
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.
10 replies
FFilament
β’Created by Mercules πβ‘ on 7/1/2024 in #ββhelp
Is it possible to override the title and description of a chart widget dynamically?
something like
```
protected function getHeading()
{
//I can do things here to create a dynamic description if necessary
return "My Custom Heading"; } protected function getDescription() { //I can do things here to create a dynamic description if necessary
return "My Custom Description"; }
return "My Custom Heading"; } protected function getDescription() { //I can do things here to create a dynamic description if necessary
return "My Custom Description"; }
3 replies