Results 1 to 3 of 3

Thread: change to the combobox

  1. #1
    Sencha User michaelc's Avatar
    Join Date
    Dec 2007
    Location
    Bay Area - CA
    Posts
    505
    Answers
    3

    Default Answered: change to the combobox

    what changed in the combo box ?
    it's loaded from a store.

    now when I open the drop down I get a disabled dialog and it spins as if trying to get the values.

    Code:
                xtype: 'combo',          //   Position Selectior    
                fieldLabel: 'Position',
                id: 'positionCombo',
                width: 450,
                store: positionStore,
                displayField: 'POSITION_DESCRIPTION',
                valueField: 'POSITION_ID',
                typeAhead: true,
                mode: 'local',
                forceSelection: true,
                triggerAction: 'all',
                emptyText: 'All',
                selectOnFocus: true
    combo.gif

  2. I think you're running into a known bug in 4.0.7. A few threads that might help:

    http://www.sencha.com/forum/showthread.php?152324
    http://www.sencha.com/forum/showthread.php?156908

  3. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,791
    Answers
    585

    Default

    I think you're running into a known bug in 4.0.7. A few threads that might help:

    http://www.sencha.com/forum/showthread.php?152324
    http://www.sencha.com/forum/showthread.php?156908

  4. #3
    Sencha User michaelc's Avatar
    Join Date
    Dec 2007
    Location
    Bay Area - CA
    Posts
    505
    Answers
    3

    Default

    You rock.
    Don't need the load mask as it's loaded before display by data from a json store.

    Code:
               xtype: 'combo',          //   Position Selectior    
                fieldLabel: 'Position',
                id: 'positionCombo',
                width: 450,
                store: positionStore,
                queryMode : 'local', 
                displayField: 'POSITION_DESCRIPTION',
                valueField: 'POSITION_ID',
                forceSelection: true,        
                emptyText: 'All',
                listConfig: {
                    loadMask : false
                },

Posting Permissions

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