Results 1 to 2 of 2

Thread: [CLOSED][3.x] MultiSelect problem in IE7

  1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    57

    Default [CLOSED][3.x] MultiSelect problem in IE7

    What's so wrong with this that it doesn't work in IE 7 or IE8 compat and does in IE6, IE8 and other browsers like FF, Safari and Opera?
    Problem: when selecting, nothing seems to happen, already selected item is unselected but selecting new items, either one or several, don't highlight and on change event is not fired.
    PHP Code:
    var fld = new Ext.ux.form.MultiSelect({
        
    allowBlank:false,
        
    autoHeighttrue,
        
    displayField:'descr',
        
    emptyText:'Select...',
        
    mode'local',
        
    selectOnFocus:true,
            
    store: new Ext.data.ArrayStore({
            
    fields: ['id''descr'],
            
    data : [[1,'Descr 1'],[2,'Descr 2'],[3,'Descr 3']]
        }),
        
    tabIndex2,
        
    triggerAction'all',
        
    valueField'id',
        
    value1,
        
    width:'100%'
    });
    fld.on({
        
    change: function(comborecordindex){
            
    Ext.Ajax.request({
                
    urlrvUrl,
                
    params: { kledijcombo.getValue() },
                
    successsuccessFn,
                
    failurefailureFn
            
    });
        }
    });

    fld.render('mycombo'); 
    I correctly referenced MultiSelect.js en .css, just like in the multiselect-demo.html example.

    Must have forgotten something but ...
    Any suggestion/help greatly appreciated!

    Patrick

  2. #2
    Sencha User
    Join Date
    Oct 2007
    Posts
    57

    Default Found it!

    Believe it or not, it was a css issue.

    I had some style:
    Code:
    html { padding: 10px}
    Changed that to:
    Code:
    body{ padding: 10px}
    I figured out that it also worked in IE7 in QuirksMode which made me look in that direction by process of elimination.

    If there would be a kind soul who could explain it, then maybe I'd finally know what I've been doing

    Thanks to all those who read the thread.

    Patrick

Posting Permissions

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