combo在firefox下是正常显示的,在ie下只现实空标签的“请选择....”。
alert时,显示控件中是有值的,只是在ie 中不显示。
有没有人 遇到过这样的问题啊? 

解决方案 »

  1.   


    var gz_time = new Ext.data.SimpleStore({
            fields: ['op', 'display'],
            data : [                
             ['1', '1天'],
                    ['7', '7天'],
                    ['15', '15天'],
                    ['30', '30天'],
                    ['90', '90天'],
                    ['180', '180天']
                ]
            });
    {           
                                id: 'ctrl_svc_log_gz',
                                xtype:'combo',
                                readOnly:true,
                                allowBlank:false,
                                store: gz_time,
                                valueField:'op',
                                displayField:'display',
                                typeAhead: true,
                                mode: 'local',
                                triggerAction: 'all',
                emptyText:'请选择...',
                                selectOnFocus:true,
                                labelSeparator:'',       hiddenName: 'strctrl_svc_log_gz'                                               
                            }