Get filters applied

Answered
Akshay Alva asked on October 19, 2022

https://www.flexmonster.com/api/getfilter/
 
Hi, Just need some more info on how to get a list of filters applied to a table.
Based on the fiddle example given in the above link, we can see that when the filters are applied it shows the selected values and when the filters are changes, 'getfilter' returns the excluded values instead of selected filter values.
How can we get all the selected filter values on every filter value change and apply ?
 
Warm Regards,
Akshay

3 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 20, 2022

Hello, Akshay!
 
Thank you for reaching out to us.
 
Kindly note that the getFilter() API call sometimes returns the excluded members instead of included ones due to memory optimization. 

For example, when most of the members are selected to be shown on the grid, we exclude the rest instead of listing all included members.
That way, we always keep the minimum required information about the filter. 
 
Could you please let us know more about the reasons why having the included members of the filter is important for your use case? This information would help us greatly.
 
Looking forward to hearing from you.
 
Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 27, 2022

Hello, Akshay!

Hope you are doing well.

Our team is wondering if you had a chance to read our previous answer.
Could you please let us know the reasons for always having the included members of the filter?

Looking forward to hearing from you.

Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 3, 2022

Hello, Akshay!

Hope you are having a great week.

Just checking in to ask if you could provide us with the details for your use case.

Looking forward to your response.

Regards,
Solomiia

Please login or Register to Submit Answer