We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

search box in the filter dialog responds to every keystroke

Answered
Bill Hamill asked on July 1, 2019

I'm using Flexmonster to access a large OLAP cube. I notice that the search box in the filter dialog runs a query. Furthermore, I notice it responds to every keystroke. This can take a lot of time. We'd like to invoke the search only after the entire search term is entered. Is there a way to do this?

5 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster July 2, 2019

Hello Bill,
Thank you for writing to us.
 
Yes, you are right. The search box does run a query after each keystroke.
Your suggestion sounds reasonable.
That is why we are going to add an option that should allow running search after the enter button is pressed.
Will such an approach work for you?
 
Waiting to hear your feedback.
Regards,
Dmytro

Public
Bill Hamill July 2, 2019

Yes, this sounds great. Thanks.

Public
Tanya Gryshko Tanya Gryshko Flexmonster July 5, 2019

Hello, Bill,

Thanks for your quick response.

Our development team will add this feature. The version with an update will be released on the 29th of July.

Please inform us in case of further questions.

Regards,
Tanya

Public
Vera Didenko Vera Didenko Flexmonster July 30, 2019

Hello, Bill,
 
We are pleased to inform you that a new filter.liveSearch property was added to Options Object to control the search input in the filter pop-up window.
Indicates whether the search is performed while the user types (true) or requires the Enter button to start searching (false). Default value: true.
 
Here is a JSFiddle example for illustration.
 
This is included in the 2.7.11 version of Flexmonster: https://www.flexmonster.com/release-notes/.
 
You are welcome to update the component.
Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
An important remark is that Flexmonster Accelerator needs to be updated as well: https://www.flexmonster.com/doc/updating-to-the-latest-version/#!accelerator.
 
Feel free to write to us in case of questions.
 
Best Regards,
Vera

Public
Bill Hamill August 19, 2019

This is working well for me. Thanks.

Please login or Register to Submit Answer