F
Filament2mo ago
Rome

Independent table lists with same resource

I need to create multiple independent table lists with same resource but I need to edit them with different columns of the resource and modifying the query. Also I need them to have different URL and menu item. How can achieve this?
Solution:
For multiple url & menu item: You can create a filament page and extend the table (https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component#adding-the-table) and in the query ->query() you modify the query.. For main resource, you can add ->modifyQueryUsing() to modify the query....
Jump to solution
1 Reply
Solution
Vp
Vp2mo ago
For multiple url & menu item: You can create a filament page and extend the table (https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component#adding-the-table) and in the query ->query() you modify the query.. For main resource, you can add ->modifyQueryUsing() to modify the query.