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?
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.
Yes, this sounds great. Thanks.
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.
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:
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.
This is working well for me. Thanks.