How to put the filter above in a custom dashboard page?

Hello, I have created a dashboard page that replaces the original one. I am customizing it so that a table and filters appear. I want these filters to appear at the top, but if I add the usual (up to version 2) getTableFiltersLayout, it doesn't work. How is it done now in the latest version of filament?
Was this page helpful?