© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
mamamia

How to use array in getTableQuery instead of Builder?

So i have an array somewhere, i want the table data is using the array instead of querying, how do i do that?
protected function getTableQuery(): Builder 
{
    // return Post::query(); 
    return [["name"=>"t1"]["name"=>"t2"]] // something like this?
} 
protected function getTableQuery(): Builder 
{
    // return Post::query(); 
    return [["name"=>"t1"]["name"=>"t2"]] // something like this?
} 
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Use Array in Table Builder
FilamentFFilament / ❓┊help
16mo ago
Returning Array in getTableQuery on the TableWidget
FilamentFFilament / ❓┊help
3y ago
How to use SpatieMediaLibraryFileUpload in the Builder
FilamentFFilament / ❓┊help
6mo ago