Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

set filters on multiples reports

Paul Schlichter asked on April 29, 2016

With dashboard or multiple instances on one page, how to set a filter and apply it to all instances on the page?
example: Select a customer. First instance shows customer sales by year, second instance shows customer sales by month. Use will select a customer, then both instances should have the same filter applied

3 answers

Ian Sadovy Ian Sadovy Flexmonster April 29, 2016

Hello Paul,
Thank you for the question.
It’s possible to apply the same filter across multiple instances using Flexmonster API.
Here is the code sample on JSFiddle, it shows how to apply filters from the first instance to the second (video: 
Please let me know if it works for you.

Ian Sadovy Ian Sadovy Flexmonster April 29, 2016

Please check the sample that applies filters with a button click – 
Also, please refer to the documentation about getFilter()/setFilter() API calls –
Hope this helps.

Tanya Gryshko Tanya Gryshko Flexmonster December 7, 2016

Hello Paul and all Flexmonster users,
After the release of version 2.3, we would like to provide you with the updated sample:

Please login or Register to Submit Answer