ExtJs无法在IE6 / Chrome上滚动包含htmlEditors的表单(在模态窗口内)

时间:2011-04-18 02:01:16

标签: extjs

我在Sencha论坛上问了同样的问题,但没有得到任何回复。我不能在IE6和Chrome中获得以下代码,但在Firefox上运行完美。

这是简单的代码:

Ext.onReady(function(){

 var window = new Ext.Window({
  title: 'Candidate CV',
  width : 900,
  height: 500,
  closeAction: 'hide',
  autoScroll : true,
  modal: true,
  defaultType : 'htmleditor',
  layout : 'form',
  items: [{
   fieldLabel: 'Professional Summary',
   name: 'summary',
   height : 300,
   width : 600,
   enableSourceEdit: false
  }, {
   fieldLabel: 'Career Objective',
   name: 'objective',
   height : 250,
   width : 600,
   enableSourceEdit: false
  },{
   fieldLabel: 'Accomplishments',
   name: 'accomplishments',
   height : 250,
   width : 600,
   enableSourceEdit: false
  }],
  buttons: [{
   text: 'Save' 
  }, {
   text: 'Cancel'
  }]
 });
    var editCV = Ext.get('show-window');
    editCV.on('click', function(){
     window.show();
    });

});

这里有html代码。

<a id='show-window' href='#'>show</a>

我想知道我在这里失踪了什么。您可以尝试上面的代码,您将得到与我相同的结果。

由于

0 个答案:

没有答案