Change Filter Position on a custom table component

I created a custom table component in livewire but I want to change the filter positions to be at the top how best can i do that .I have used this layout method but seems not to work
protected function getTableFiltersLayout(): ?string
{

return Layout::AboveContent;
}
protected function getTableFiltersLayout(): ?string
{

return Layout::AboveContent;
}
but does not work
1 Reply
codeartisan
codeartisanOP10mo ago
class ListUsers extends Component implements HasForms, HasTable, HasActions
{
use InteractsWithTable;
use InteractsWithForms;
use InteractsWithActions;


protected function getTableFiltersLayout(): ?string
{
return Layout::AboveContent;
}
class ListUsers extends Component implements HasForms, HasTable, HasActions
{
use InteractsWithTable;
use InteractsWithForms;
use InteractsWithActions;


protected function getTableFiltersLayout(): ?string
{
return Layout::AboveContent;
}
Want results from more Discord servers?
Add your server