Results 1 to 1 of 1

Thread: htmleditor don't show in formPanel with deferredRender:false

  1. #1
    Ext User chalda's Avatar
    Join Date
    Aug 2009
    Location
    Dolomiten, Italy
    Posts
    9

    Exclamation htmleditor don't show in formPanel with deferredRender:false

    When I use htmlarea in formpanel with deferredRender:false htmlareas don't works...
    See attached images.

    Code:
      Ext.onReady(function(){
          var form = new Ext.form.FormPanel({
          layoutOnTabChange:true,
          items: [{
              xtype:'tabpanel',
              plain:true,
              activeTab:0,
              deferredRender:false,
              hideMode:'offsets',
              autoHeight:true,
              defaults:{bodyStyle:'padding:10px'},
              items:[
                {
                    "title":"First Tab", 
                    "layout":"form",
                    "items":[{
                        "fieldLabel":"First Textarea",
                        "value":"Text simple",
                        "xtype":"htmleditor",
                        "name":"text1"
                    }]
                },
                {
                    "title":"Second Tab", 
                    "layout":"form",
                    "items":[{
                        "fieldLabel":"Second Textarea",
                        "value":"Text simple",
                        "xtype":"htmleditor",
                        "name":"text2"
                    }]
                }
            ]
                
    
          }]
       });
    
    
    
    
       var win = new Ext.Window({
          title: 'New Window',
          layout:'form',
          bodyStyle:'padding:5px',
          closeAction:'close',
          modal:true,
          width: 800,
          y:20,
          autoHeight:true,
          items: form
     });
     win.show(this);
    
    })
    [/code]
    Attached Images Attached Images
    "I like your avatar! I spent countless hours trying to stop purple tentacle from taking over the world..."
    by Condor

Posting Permissions

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