Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    19
    Vote Rating
    0
    suraj.breezy is on a distinguished road

      0  

    Default Not able to remove item from a tabpanel

    Not able to remove item from a tabpanel


    Hello,

    I have a tab-panel and i am adding few items dynamically into it. I want to delete the same from the tab-panel. However, when i delete the item from tab-panel the item content is getting deleted but the tab is still visible in the tab-bar. The tab-bar is not getting refreshed. Please find the sample screenshot as attachment.

    Regards,
    Suraj
    Attached Images

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,525
    Vote Rating
    871
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Any JS errors that are prohibiting? I just ran this test on our latest code that will be apart of the next release and no errors:

    Code:
    var tab = Ext.create('Ext.tab.Panel', {
        fullscreen : true,
        items      : [
            {
                title : 'One',
                html  : 'one'
            },
            {
                title : 'Two',
                html  : 'two'
            }
        ]
    });
    
    setTimeout(function() {
        tab.removeAt(2);
    }, 1000);
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1