1. #1
    Ext User
    Join Date
    May 2010
    Posts
    2
    Vote Rating
    0
    barkermn01 is on a distinguished road

      0  

    Default NOOB::: How do i dynamicly update content

    NOOB::: How do i dynamicly update content


    Hi All,

    Im new to ExtJS, Trying to build a dynamic page using Panels,

    so i have 2 questions

    1st. can i load a panel into another panel

    2nd. how do i update the html content of a panel dynamically.

    I have googled and look though doc's but i just cant find an simple answer

  2. #2
    Ext User
    Join Date
    May 2010
    Posts
    2
    Vote Rating
    0
    barkermn01 is on a distinguished road

      0  

    Default


    Done the first one,
    PHP Code:
    var viewport = new Ext.Veiwport({
        
    layout'border',
        
    items:[
               new 
    Ext.Panel({
                    
    title:'Navication',
                    
    applyTo:"menu",
                    
    items:[
                        new 
    Ext.Panel({
                            
    width'100%',
                            
    title'Management',
                            
    collapsible:true,
                        }),
                        new 
    Ext.Panel({
                            
    width'100%',
                            
    title'MySQL',
                            
    collapsible:true,
                        }),
                        new 
    Ext.Panel({
                            
    width'100%',
                            
    title'Apache',
                            
    collapsible:true,
                        }),
                        new 
    Ext.Panel({
                            
    width'100%',
                            
    title'PHP',
                            
    collapsible:true,
                        }),
                        new 
    Ext.Panel({
                            
    width'100%',
                            
    title'DNS',
                            
    collapsible:true,
                        })
                    ]
                })]
        }); 
    Now jsut the second one to do.
    Last edited by barkermn01; 12 May 2010 at 7:12 AM. Reason: Done 1st one

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,182
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    In order to update the content area of an Ext.Panel you can use teh update method.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi