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 to getHeaderActions() and using 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()
Jump to solution
2 Replies
Solution
Gandalf
Gandalf4mo ago
Figured it out. Had to override getViewData()
wailerz
wailerz2w ago
hello, can you give more info how you resolve this issue? im in same issue but unable to make the range work..
Want results from more Discord servers?
Add your server