Is there an autocomplete plugin similar to this jQuery based one http://docs.jquery.com/Plugins/autocomplete?

Thank you

Martin

AndreaCammarata

5 Sep 2011, 11:49 PM

Hi Martin.
At the moment there is not an autocomplete plugin available for Sencha Touch, but it would be notthing really hard to develop if you have good a knowledge of the framework.

mitchellsimoens

6 Sep 2011, 6:06 AM

What I have done is have a Panel (using FitLayout) with a top docked Container (using HBoxLayout) with a Text field and a Button. On the wrapping Panel, I have a List. Then add a listener for the keydown on the Text field that filters the Store (remotely or locally, doesn't matter) of the List.

Now, if you don't want a whole Panel to do this and want more of a Select field look, wrap the List in a Panel that is floating and show it by the Text field. Behavior is the same, just the mixing of the widgets are different.

mrtndimitrov

6 Sep 2011, 6:16 AM

Thanks for the suggestion.

msarath

2 Feb 2012, 8:18 AM

Anybody has working example?
I am actually looking for solution similar to http://code.google.com/apis/maps/documentation/javascript/examples/places-autocomplete.html