Need a special offer?Find out if your project fits.
+

Hide Live filter for specific columns

Answered
Subramanian asked on January 24, 2021

Hi,
I wanted to hide/show livefiltering option for a specific column. Could you please help me with how to achieve it?

10 answers

Public
Vera Didenko Vera Didenko Flexmonster January 25, 2021

Hello, 
 
Thank you for reaching out to us.
 
We kindly suggest hiding the live filter for a specific field via CSS, for example: 

.fm-live-filtering-header[data-h-name="Country"] div {
display: none;
}

Please see the following JSFiddle we have prepared for you: https://jsfiddle.net/flexmonster/fzornybw/.
In the example, the live filter is hidden for the "Country" field.
 
Please let us know if this works.
 
Kind regards,
Vera

Public
Subramanian January 27, 2021

Thank you for the response!
But the column name is dynamic for me and not want to do it in CSS. Is there a way to provide as part of the configuration?

Public
Vera Didenko Vera Didenko Flexmonster January 27, 2021

Hello, 
 
Thank you for your reply.
 
We would like to kindly explain that it is possible to hide/show the live filter only for all columns at the moment through the config.
However, our team agrees that having an option to hide the live filter for a specific column would be useful.
We have added your request to our customers' wishlist. We will notify you as soon as there are any updates on the matter.
 
Please feel free to reach out in case of questions.
 
Kind regards,
Vera

Public
Vera Didenko Vera Didenko Flexmonster March 10, 2021

Hello, 
 
How have you been?
 
We are happy to inform you that now filters mapping property disables live filtering for specific fields.
Here is a JSFiddle example for illustration: https://jsfiddle.net/flexmonster/uhnt70by/.
 
This is available in the latest version of Flexmonster.
You are welcome to update the component.
 
Please let us know if the feature works fine for you.
Looking forward to your feedback.
 
Kind regards, 
Vera

Public
Vera Didenko Vera Didenko Flexmonster March 15, 2021

Hello, 
 
Our team is wondering if you had a chance to check out the update.
Does hiding the live filter controls for specific columns via config work fine for you?
 
We would be grateful for your feedback.
Looking forward to your response.
 
Kind regards,
Vera

Public
Subramanian March 15, 2021

Cool.. It is working after the update. Thank you!

Public
Subramanian March 20, 2021

Hi,

I have one more requirement. Currently, it is filtered by contained values instead can we specify the type. For e.g, > 1000, = 5000

Public
Milena Pechura Milena Pechura Flexmonster March 22, 2021

Hello, Subramanian,
 
Thank you for your question.
 
Currently, Flexmonster supports only "contains" live filtering.
A condition like >1000 can be specified when using a filter pop-up, disabling the live filter.
 
With this in mind, could you please inform us how critical the requested feature is for you?
 
Looking forward to your response.
 
Kind regards,
Milena

Public
Subramanian March 23, 2021

Thanks For your response!
Yes, it is a critical requirement as many of our customers would interested to use it. It would be great if you can support this feature at the earliest. Thanks

Public
Milena Pechura Milena Pechura Flexmonster March 24, 2021

Hi,
 
Thank you for your answer.
 
We have passed your request to our dev team and already added the task for this feature to our backlog. However, our roadmap is full at the moment, so we are not ready to provide you with any estimates. 
 
Our team would like to suggest some alternative solutions for your case:
1) When live filtering is enabled, use the context menu to open the filter pop-up and specify the value filter.
2) As a more flexible approach, you can create your own live filter with all desired filter options outside of the component.
 
Hope it helps!
 
Best regards,
Milena

Please login or Register to Submit Answer