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
    Gainesville, FL
    Posts
    37,641
    Vote Rating
    898
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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
    ________________
    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 in print!

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

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,623
    Vote Rating
    331
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      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.