Threaded View

  1. #1
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Question [SOLVED] headerCfg child elements does not render

    [SOLVED] headerCfg child elements does not render


    i have following problem,

    i define a headerCfg with a child element

    PHP Code:
    Ext.onReady(function() {
        
    = new Ext.Panel({
            
    title 'title',
            
    renderTo document.body,
            
    width 200,
            
    height 20,
            
    html 'content',
            
    headerCfg : {
                
    tag 'div',
                
    cls 'x-panel-header-test',
                
    cn : [{
                    
    tag 'div',
                    
    cls 'x-panel-header-status',
                    
    html 'titlechild'
                
    }]
            }
        });
    }); 
    the element with the class "x-panel-header-test" was created but not the child div with class 'x-panel-header-status'.

    Where is my error?

    Does the header rendering process remove all child elements for the tititle span and tools div?

    i am happy about any hints

    Nils
    Last edited by mrsunshine; 23 Sep 2009 at 5:09 AM. Reason: markt as solved

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar