autocomplete - ExtJS 4 Autocomplete ComboBox

ExtJS 4 Autocomplete ComboBox

Posted on

ExtJS is one of the best client-side JavaScript widget frameworks which come with hundreds of build-in components and it’s also very easy to extend or customized those components. One of the most useful components is ComboBox. We can use combobox to populate groups of items on it, select one or multiple items and can associate store with it to populate it remotely.

Today I am going to show you how to customized ExtJS combo box to looks like and behave like a auto-complete textfield. We will use ArrayStore to store the companies name and ids and on entering character in ComboBox will show a list of companies sorted with that character.

Output:

Enter first two characters of your company and you will see following output.

autocomplete - ExtJS 4 Autocomplete ComboBox

Happy Coding 🙂

Source techzoo.org