© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Gandalf

Using filters in a custom page

I'm trying to build a custom page (sort of a report), which will use a date range filter, and then fetch the data from various resources to display as per the selected date range. Since it requires custom formatting, so using Table Builder or Info List is not suitable.

Now, while I'm able to show the filters form by adding
FilterAction
FilterAction
to
getHeaderActions()
getHeaderActions()
and using
HasFiltersAction
HasFiltersAction
trait, I'm unable to figure out which method should I use to fetch and update the data on page as per the selected date range.

Could someone please help on this?
Solution
Figured it out. Had to override
getViewData()
getViewData()
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Using tab in custom page
FilamentFFilament / ❓┊help
2y ago
Using a FileUpload input in a Custom Page
FilamentFFilament / ❓┊help
2y ago
Custom page with table and filters
FilamentFFilament / ❓┊help
16mo ago
Custom filters
FilamentFFilament / ❓┊help
2y ago