Get Free Trial

Single selection for filter dialogs conditionally

Re-Open
talha asked on September 26, 2021

Hello, 
I saw the example here: Single-Selection for filter dialogs • Flexmonster,
and it kind of solved my problem, but I want to display the single selection dialog on a condition, also I want to do the same with the default one, or both at the same time.
eg:
flagForSingle: true => display single selection custom filter dialog
flagForSingle: false => display default filter dialog
flagOfBothAtTheSameTime: depending on the value it will either display custom or default.
 
could you jsfiddle it please?

4 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster September 27, 2021

Hi,
 
Thank you for posting your question!
 
Could you please elaborate a little on what the condition should be based on and where/how exactly you’re planning to store it?
 
This affects the potential solution, so it would be good to understand these points before preparing a sample.
 
Looking forward to your response.
 
Best regards,
Mykhailo

Public
talha October 3, 2021

Flags will come for each field in the report, and get stored in an array. I would imagine.  

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster October 5, 2021

Hi,
 
Thank you for giving us some time to prepare the discussed sample. Feel free to check it out by the link: https://jsfiddle.net/flexmonster/zLqu0r2d/.
 
This is a slightly modified version of the sample you mentioned initially: it performs different actions on the filteropen event trigger based on specific field flags stored in a dedicated object.
 
Is this what you’ve been looking for?
 
Please let us know your thoughts.
 
Regards,
Mykhailo

Public
talha October 5, 2021

This is exactly what I want,

Thank you Mykhailo.

Please login or Register to Submit Answer