google / google-visualization-issues

288 stars 35 forks source link

filter with string filter when pressing Enter only with realtimeTrigger option #2575

Open mtarekcse opened 7 years ago

mtarekcse commented 7 years ago

Hi all ,

I am using google visualization library in order to filter my data. I need to filter string data when user only press "Enter" key I found in the documentation of string filter here that we may use property "ui.realtimeTrigger" to allow/avoid real time triggering. I set it to false , but the filtering is unfortunately not done well. The real time change is appearing again even if the option is false. I updated some jsfiddle example to test it , that also not worked. How should I define the property "ui.realtimeTrigger" ? this is my jsfiddle

dlaliberte commented 7 years ago

It appears this has been a problem forever, since I don't see any change that would have affected it. Perhaps it only affects the 'statechange' event, and filtering behaves the same regardless. If so, you might find a way to work around the bug until it can be fixed, by handling that event and only invoking the filtering when you want.