🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all hot features!
Get Free Trial

Adding external filters to pivot table.

Rita asked on January 4, 2019

I  am using elastic search pivot table and have redirect it to proxy server.
 I’m also using nodejs in backend to send  back response.
I want to add some extra filters. how to add those filters
and which event is called when we hit fields apply button?

4 answers

Tanya Gryshko Tanya Gryshko Flexmonster January 4, 2019

Hello, Rita,
Thank you for writing to us.
When requests from Flexmonster are passed to the endpoint on your Node.js back-end, you can modify the queries to add some extra filters. After this, you redirect the updated request to Elasticsearch, then redirect the response back to Flexmonster.
As about the event fired in Flexmonster when we hit fields apply button, please check filterclose event: https://www.flexmonster.com/api/filterclose/
Please let me know if you have questions.

Rita January 7, 2019

Thanks for quick reply.
I want to add filters from front-end and then send that to backend for processing. how can i achieve this?

Dmytro Zvazhii Dmytro Zvazhii Flexmonster January 9, 2019

Hello Rita,
Thank you for your question.
We recommend trying our report filters. Please find the example here: http://jsfiddle.net/flexmonster/Ly47pq5b/20/. In some cases, they can be used as external filters.
If the suggested approach does not work for you, please provide us with more details about your use case so we can find a suitable solution for you.
Waiting to hear from you.

Tanya Gryshko Tanya Gryshko Flexmonster February 8, 2019

Hello, Rita,
We would like to ask you whether the option of using our report filters is working for you.
Our team would appreciate any feedback.

Please login or Register to Submit Answer