Results 1 to 2 of 2

Thread: in extjs4, when tabpanel change, tabpanel's showing have problem!

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    9
    Vote Rating
    0
      0  

    Default in extjs4, when tabpanel change, tabpanel's showing have problem!

    i dynamically load iframe to tabpanel, but you click quickly next tabpanel, the previos tabpanel can't show. in extjs3, use layoutOnTabChange can solve the problem, but in extjs4, how to solve the problem?
    the error's picture as Attachment?
    Attached Images Attached Images

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,390
    Answers
    716
    Vote Rating
    498
      0  

    Default

    We will need more details ... please update the following to duplicate.

    Code:
    Ext.create('Ext.tab.Panel', {
        width: 800,
        height: 600,
        activeTab: 0,
        items: [
            {
                title: 'Tab 1',
                bodyPadding: 10,
                html : '<iframe src="http://www.sencha.com" width="100%" height="100%" ></iframe>'
            },
            {
                title: 'Tab 2',
                html : '<iframe src="http://www.html5.com" width="100%" height="100%" ></iframe>'
            }
        ],
        renderTo : Ext.getBody()
    });?
    Scott

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •