PDA

View Full Version : Auto suggest Implementation in sencha



naveennsit89
13 Jan 2013, 5:16 AM
Hi

can you please tell me how to implement auto suggest in sencha .I googled it and found two or three solution .But all solution auto suggest using web service ,But i have array of data ,from this data(example names ) i want to use this array in autosuggest .can you modified this link so as i can use this.
i found these links

https://github.com/martintajur/sencha-touch-2-autocomplete-textfield
http://dev.sencha.com/deploy/ext-4.0.0/examples/form/forum-search.html

B (https://github.com/martintajur/sencha-touch-2-autocomplete-textfield)ut i need .i need simple example without using of websersive,

http://www.codeproject.com/Articles/20174/Auto-suggest-Control

mitchellsimoens
15 Jan 2013, 9:05 AM
All you have to do is filter the store. The combobox will do this all for you if you have queryMode set to local.

vbhavsar
8 Nov 2013, 9:59 AM
I am using the autocomplete from https://github.com/martintajur/sencha-touch-2-autocomplete-textfield/blob/master/Ext.AutocompleteField.js


I can get the results list, but the list is hidden/buried behind another component I have which is a map. I have a toolbar with the search field. Then I have a map below it. I get the results just fine, but the list gets cut off and looks like it is behind the map. I tried changing the zIndex numbers for the components, but it doesn't seem to help. Any suggestions? Thanks,