getTableFiltersLayout
Does anybody knows how to use getTableFiltersLayout in a resource? I create the function in the resource but filament do not looks for it so I guess the function works for Livewire components but for admin panels they might have to be called someway diferent.
4 Replies
The Livewire component ist ListPage. Resources are no components
Ok...in an admin resource there is a table function that receives and returns Table object. Table has columns and filters method. Now I would like to tell filament that those filters should be shown AboveContent. How do I do it?
Add the method to the list page
I found this reply that works for me: ->filters([], layout: Layout::AboveContentCollapsible)