Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7921553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:37:24+00:00 2026-06-03T16:37:24+00:00

I am using ExtJs4.I have a form in my web application in which there

  • 0

I am using ExtJs4.I have a form in my web application in which there is text box.The scenario is to provide an AJAX like search(like Google) when any key is pressed in the text box.Search will look into a web service and display the result(JSON object) in drop drown.Similar to Google search.

Is there any idea,link or tutorial for doing this?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:37:26+00:00Added an answer on June 3, 2026 at 4:37 pm

    You could use ComboBox for this. With trigger or without one (that looks like a TextBox).

    Sencha provides good examples:
    http://docs.sencha.com/ext-js/4-0/#!/example/form/combos.html
    http://docs.sencha.com/ext-js/4-0/#!/example/form/forum-search.html

    This is a simple example:

    {
            xtype: 'combo',
            id: 'myCombo',
            store: Ext.create('Ext.data.ArrayStore', {
                    model: Ext.define('ComboModel', {
                            extend: 'Ext.data.Model',
                            fields: ['id','data1','data2']
                    }),
                    proxy: {
                            type: 'ajax',
                            url : 'data.json',
                            reader: {
                                    type: 'array'
                            }
                    }
    
            }),
            triggerAction: 'query',
            minChars: 2,
            fieldLabel: 'Search',
            displayField: 'data1',
            msgTarget: 'side',
            triggerCls : 'x-form-search-trigger', // Search Icon For Instance
            listConfig: {
                    getInnerTpl: function() {
                            return '<div>{data1}</div><div>{data2}</div>';
                    }
            }
    }
    

    And JSON file:

    [
        ['1','data1-1','data2-1'],
        ['2','data1-2','data2-2'],
        ['3','data1-3','data2-3'],
        ['4','data1-4','data2-4'],
        ['5','data1-5','data2-5']
    ]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with ExtJS4 and trying to build a search feature using a form.
I am using EXTJS4. I have a tree which displays classes (classname) on one
I'm using ExtJS on a registration page which should have no effect on this.
I'm using ExtJS 2.2.1 In my web app, I used to have a TreePanel
I'm facing a problem using ExtJS4. My application has a tree containing a string
I am using a extjs field container for my application where I have details,
im using extjs4 with dwr3 to upload a file this is all i have
I Have ExtJS client-side programm that communicates with server using synchronous AJAX. Over 95%
Server side extjs form validation using zend framework I have extended Zend_Form class to
I have learned basics of ExtJS and developed some web apps using ExtJS. Now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.