HZNM.COM
welcome to my space
X
Search:  
 HOME   How to change tab's xtype?
How to change tab's xtype?
Published by: mike 2010-03-16
Welcome to:hznm.com

  • Hello everyone!
    There is a tab in a TabPanel,the tab's xtype is grid,how could i reload the tab and change the tab's xtype to iframe?
    Thanks in advance!


  • unless you're referring to @hendricd's ManagedIframePanel
    http://extjs.com/forum/showthread.php?t=40961

    there's no "iframe" xtype otherwise.


    as for "reloading and changing" a tab's xtype -- you can't.
    call tabpanel.remove(tab), then tabpanel.add(newTabWithNewXtype) instead.


  • :) Thanks very much!


  • your says is not very clear. maybe you can change "html" attribute in tag like this:

    var tab = new Ext.TabPanel({
    region:'center',
    deferredRender:false,
    activeTab:0,
    resizeTabs:true, // turn on tab resizing
    minTabWidth: 115,
    tabWidth:135,
    enableTabScroll:true
    });
    tab.add({
    'id' : node.id,
    'title' : node.text,
    closable:true,
    frame:true,
    html:''
    });
    if you want to change view in that tag, change the iframeSrc.





  • Challenging Books For A 14 Year Old?
    First guitar : acoustic or electric?

    You are looking at:hznm.com's How to change tab's xtype?, click hznm.com to home
  • why so much slack obama suppostedly won the election fair and square he promissed everyone everything and
  • what if president obama appoints dick cheney to a cabinet position
  • how will the compliant media redeem themselves after their breach of public trust during this election
  • why do folks bring up seperation of church and state when someone brings up obama 039 s supposed muslim faith
  • which candidate president vp exhibited the most pride in america in their lifetime
  • will the main stream media ever come clean about their biases this campaign season
  • when will obama go back to church
  • in god we trust
  • how will hillary subvert her ambition to faithfully service the obama regime
  • what do you think pay back time to all the bass turds lets get even if we can
  • can someone get me updated why do republicans call obama barry
  • in spite of being capable do women really belong in politics
  • does barack obama have any plans for welfare reform
  •  
  • isn 039 t obama being president a lot like a non swimmer
  • reps if the dems are responsible for this mess pls explain
  • on your way to work you enter an elevator and realize you are standing next to sarah palin what do you say
  • why won 039 t the mccain supported just admit that mccain wasn 039 t the best and fairly lost because of that
  • when will obama give andrea huffington george soros positions to let them lead our country officially
  • why is everyone so afraid obama will win
  • how much more devastating would a wide scale terrorist attack be in a already fragile economy
  • 11 26 2008 survey it would be a good thing if sarah palin runs in 2012 agree or diagree
  • how much money does obama 039 s plan for taxing the rich actually put in your wallet
  • is balancing the budget even an issue for obama anymore
  • my questions keep being removed am i too smart truthful for this site
  • will colin powell have a role on obama 039 s cabinet
  • what will happen on dec 5 when hussein obama is declared ineligible for the office of president
  • is obama going too far with this office of the president elect
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hznm.com        Site made:CFZ