Threaded View

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


    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

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

Thread Participants: 2