FilamentF
Filament3y ago
BBB

Filament Table With default ?

Good evening,

First of all, thank you for this wonderful tool.

I have a question regarding the builder table. I would like to display the results as thumbnails (already coded) AND as a table (which is what I want to implement).

Currently, I'm returning data like this, from a livewire component:

return view('livewire.file-browsing')->with('files', $this->root->children()->with(['thumbnail'])->paginate()); 


This allows me to display the result in a thumbnail, as well as in a table (basic).

Nevertheless, I would like to change my table to a filament table. So I'm going to have to duplicate the sql query because obviously I can't pass an existing query to my filament table ?

Thanks in advance if you have any idea.
image.png
image.png
Was this page helpful?