Need a special offer?Find out if your project fits.
+

How do i Retain the filters added by a client to any specific report.

Answered
Kumar asked on November 22, 2019

Hi Team,
I have a requirement where I need to retain the filters applied by a client- for any specific report, and the clients should be able to see the report with the same filters applied whenever they view the report again.
Please help me achieve the same.
Cheers !!!

1 answer

Public
Vera Didenko Vera Didenko Flexmonster November 22, 2019

Hello, Kumar,
 
Thank you for your question.
 
We kindly suggest using the reportchange event to track changes and the save() API call to save the necessary changes to your server. 
For the report to be saved to your server, please specify the destination type as server, for example: 

flexmonster.save({
filename: 'myreport.json',
destination: 'server',
url: 'http://yourserver.com/yourscript.php'
});

 
In case you would like to save the report differently, the getReport() API call can be used to fetch the report object.
In addition, the setReport() API call can be used to set a specific report.
For more information about the report object, please see our guide: https://www.flexmonster.com/doc/available-tutorials-report/
 
Please let us know if this helps and if you need further details.
 
You are welcome to write to us in case further questions arise.
 
Best Regards,
Vera

Please login or Register to Submit Answer