I am working with a Devexpress report viewer with a ASP.NET Core backend and React as frontend. I am rendering the report using a REPX layout file which is defined in the backend. I have a use case to filter the report data by having certain parameters like start date, end date etc. I could see that there is a Preview Parameters option inside the report viewer where we can define parameters to filter out the data as shown below:
But I need to have these data filters outside my report viewer, for example, I need to pick the start date, end date from a datepicker component from my react application. If I need to achieve this use case, how can I get this data passed to report viewer API or can I have a custom implementation of the Preview Parameters outside the report viewer component. Also, if I choose to pass the parameters to API (may be as query params or something), how can I use this in API code to fetch the data from datasource/datamember defined in REPX file. I am usinga stored procedure as datamember to get the data which takes in these filter data as parameters.