Using Table within a custom widget

I have generated a basic widget and would like to use the Table system to output a table, but I can't work out what I need to do! Where should I look?
3 Replies
trovster
trovsterOP16mo ago
I have added the HasTable contract and InteractsWithTable concern, but then it complains about some other properties and methods, which are found in HasForms and InteractsWithForms classes. Then it complains about must have a [query()]. and /vendor/filament/tables/src/Table/Concerns/HasQuery.php (line 76)
trovster
trovsterOP16mo ago
Thanks. I have a table showing a eloquent model-based data. I just need an array output as the rows/data.
Want results from more Discord servers?
Add your server