different data source for Table Builder?

I want to use the Table Builder on a livewire page. From the docs, I need to use query() or relationship() on the $table. but my data is not from Models, but rather a large array dynamically generated from the previous operation. Is it possible?
2 Replies
LeandroFerreira
LeandroFerreira15mo ago
Filament
How to consume an external API with Filament Tables by Leandro Ferr...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
sweetplum
sweetplumOP15mo ago
thanks. my case is a little different as the data is read by uploading a csv file from a user. so I tried with Sushi. I put the csv array into Cache, in the model's getrows() I tried to get that array from cache, but always returned null. I can see the array is saved in cache.

Did you find this page helpful?