1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    8
    Vote Rating
    0
    guyuanershi is on a distinguished road

      0  

    Question Autocomplete in combobox

    Autocomplete in combobox


    Is it possible a combobx, which fetches data from server, is able to auto-complete the user typing?
    I tried with the local store, it works well. So I think I might miss something there.

    andy idea?

    thanks.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,624
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    If you have typeAhead set to true it should start firing off server calls after 4 characters
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,081
    Vote Rating
    112
    skirtle is a splendid one to behold skirtle is a splendid one to behold skirtle is a splendid one to behold skirtle is a splendid one to behold skirtle is a splendid one to behold skirtle is a splendid one to behold skirtle is a splendid one to behold

      0  

    Default


    An example:

    Code:
    Ext.create('Ext.form.field.ComboBox', {
        emptyText: 'Colour',
        hideTrigger: true,
        minChars: 1,
        triggerAction: 'query',
        typeAhead: true,
        store: {
            fields: ['text'],
            proxy: {
                type: 'ajax',
                url: '...'
            }
        }
    });
    Taken from:

    http://skirtlesden.com/articles/extjs-comboboxes-part-2

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    8
    Vote Rating
    0
    guyuanershi is on a distinguished road

      0  

    Default


    thanks, cool.

  5. #5
    Sencha User
    Join Date
    Jan 2013
    Posts
    6
    Vote Rating
    0
    Annu is on a distinguished road

      0  

    Default autocomplete with filter textbox in grid panel

    autocomplete with filter textbox in grid panel


    Hi,
    I want autocomplete with filter of Grid panel.Grid panel having the filter textbox at column. I want autocomplete functionality for filter. Filter data according to that.

    thanks.

Tags for this Thread