Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Combobox remote, remove loading text

  1. #11
    Sencha User
    Join Date
    Oct 2010
    Posts
    107
    Vote Rating
    0
      0  

    Default

    some other help?
    thanks

  2. #12
    Sencha Premium Member
    Join Date
    Jan 2011
    Location
    London, UK
    Posts
    50
    Vote Rating
    2
      1  

    Default

    A bit late - but if anyone else is looking for the answer the loading mask is owned by the list of the combo box.

    So you have to add this to the listConfig attribute of the combo box e.g.

    Code:
    Ext.create('Ext.form.ComboBox', {        
       ....
       listConfig: { loadMask: false },
       store: strCmbDipendente
    });

  3. #13
    Sencha User
    Join Date
    Jun 2014
    Posts
    13
    Vote Rating
    0
      0  

    Default this is what i do in my combobox

    set your store to autoload: true
    Code:
    xtype: 'combo',
    width: 450,
    triggerAction: 'all', 
    emptyText: 'Select a office',
    name:'office_account',
    displayField: 'ofc_acct_name',
    valueField: 'ofc_acct_code',
    store: me.storeOfficeAccount,
    forceSelection:true,
    queryMode: 'local',
    itemId: 'ofc_account',
    typeAhead:true,
    doQuery: function(queryString, forceAll) { 
    		this.expand();
    		this.store.clearFilter(!forceAll);
                     if (!forceAll) {
    			this.store.filter(this.displayField, new RegExp(Ext.String.escapeRegex(queryString), 'i'));
    			}
    },
     listConfig: { 
    		emptyText: '<br><center>Office not found</center>.' 
    }

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •