How can I limit the table view data with date range selectors
Posted: 2024-04-10 22:05
Dear Gents,
I need your help to figure out how to limit the table view data using date range selectors. I only want to load the data falling within a pre-selected date range.
Additionally, I prefer not to use the default filters. I'm aware that I can add a filter in table_name_init(&$options, $memberInfo, &$args), but if I were to use the default filters, I would like them to update the table data accordingly.
Below is a screenshot of my table view, where I have already added the date range selector. When I open the table view, I want it to check the date range from the date range selector and then perform the query to load the table data.
I apologize if my question is still unclear. Feel free to ask for clarification before suggesting any code implementations. Thank you
I need your help to figure out how to limit the table view data using date range selectors. I only want to load the data falling within a pre-selected date range.
Additionally, I prefer not to use the default filters. I'm aware that I can add a filter in table_name_init(&$options, $memberInfo, &$args), but if I were to use the default filters, I would like them to update the table data accordingly.
Below is a screenshot of my table view, where I have already added the date range selector. When I open the table view, I want it to check the date range from the date range selector and then perform the query to load the table data.
I apologize if my question is still unclear. Feel free to ask for clarification before suggesting any code implementations. Thank you