1. #1
    Ext User
    Join Date
    Aug 2008
    Posts
    52
    Vote Rating
    0
    rajeshin is an unknown quantity at this point

      0  

    Default show/hide tabpanelItem dynamically

    show/hide tabpanelItem dynamically


    [b] i want to show/hide tab panel item dynamically. i sucessfully hide tabpanelItem using hideTabStripItem. but my problem is how to show it again. below is my code.

    Code:
     Ext.TabPanel({
                        region: 'center',
                        id: 'center-panel',
                        deferredRender: false,
                        activeTab: 2,
                        items: [{ contentEl: 'center1', title: 'Dashboard',id: 'panelDashboard', closable: false, disabled: false, autoScroll: true, iconCls: 'tabs' },
                                { contentEl: 'center2', title: 'Fleet Status', autoScroll: true, closable: false, iconCls: 'tabs', listeners: { activate: handleActivate} },
                                { contentEl: 'center3', id: 'panelMap', title: 'Map', closable: false, autoScroll: true, iconCls: 'tabs' },
                                { contentEl: 'center4', id: 'panelProperty', title: 'Property', closable: false, autoScroll: true, iconCls: 'tabs' },
                                { contentEl: 'center5', id: 'panelReport', title: 'Reports', closable: false, autoScroll: true, iconCls: 'tabs' }
                               ]
                    })
    
     Ext.getCmp('center-panel').hideTabStripItem('panelDashboard');

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    unhideTabStripItem( Number/String/Panel item )

  3. #3
    Ext User
    Join Date
    Aug 2008
    Posts
    52
    Vote Rating
    0
    rajeshin is an unknown quantity at this point

      0  

    Default show tabpanelitem successfully

    show tabpanelitem successfully


    thanx buddy.

Thread Participants: 1

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