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.
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?
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.
Flags will come for each field in the report, and get stored in an array. I would imagine.
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.
This is exactly what I want,
Thank you Mykhailo.