Adding external filters to pivot table.

Rita asked on January 4, 2019

Hi,
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?
 
Thanks!
 

4 answers

Public
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.
Regards,
Tanya

Public
Rita January 7, 2019

hi 
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?
Regards,
Rita

Public
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.
Regards,
Dmytro

Public
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.
Regards,
Tanya

Please login or Register to Submit Answer