How to change default filter options based on data type

Answered
maryam asked on March 23, 2023

Hello, 
I want to reduce possibility of data filtering in the Flexmonster component in accordance with the following rules:
Leave only these options depending on type of field:

  • (not)equal, (not)contain, begin for strings
  • equal, greater(_or

_equal), less(_or_equal), between for numbers

  • equal, before(_or_equal), after(_or_equal), between for dates

I found that it should be handled in BE. 
https://www.flexmonster.com/doc/implementing-filters/
Am I in the right place?
And, is there any possibility to handle it in fronted also?

5 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster March 23, 2023

Hello,

Thank you for contacting us.

You are correct that choosing which filters to enable for different data types is possible using the custom data source API. Currently, it is only available to configure on the back end. Feel free to check our documentation for more details: https://www.flexmonster.com/doc/implement-custom-data-source-api/ 

Please let us know if you have more questions.

Kind regards,
Nadia

Public
maryam March 24, 2023

Dear Flexmonster Support Team,

Thank you for your prompt response and for confirming that customizing the filter options for different data types is only possible through the custom data source API on the back end. I appreciate your recommendation to refer to your documentation for more details.However, I would like to kindly request that you consider the possibility of implementing custom filters for JSON data sources in future updates. This would greatly benefit users who rely on JSON data sources and would allow them to tailor their filter options based on their specific data types.
Thank you for your attention to this matter, and please let me know if you need any further information or clarification.

Best regards

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster March 24, 2023

Hi,

Thank you for the response.

Adding an option to choose custom filters for different data types sounds reasonable. We have added it to our customers’ wishlist. Our team will notify you in case of any updates on the matter.

You are welcome to write to us in case further questions arise.

Kind regards,
Nadia

Public
maryam March 24, 2023

Thank you for letting me know that you've added the option to choose custom filters for different data types to your customers' wishlist. I appreciate your team's efforts to consider this feature.
Please keep me updated on any developments regarding this matter.
Thank you for your help and support.
Best regards,

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster March 27, 2023

Hello,

Thank you for your response.

We will surely notify you about any updates regarding the mentioned feature.

Do not hesitate to contact us in case other questions arise.

Kind regards,
Nadia

Please login or Register to Submit Answer