• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[SOLVED] xtype: tabpanel, closeable: true ..NOT!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] xtype: tabpanel, closeable: true ..NOT!

    ok. so what's wrong with this picture... I cannot make the close tool appear on a tabpanel no matter what I try.
    why are the easiest things always the most complicated.. ugh...

    viewport.js snippet..
    Code:
    				region: 'center',
    				itemId: 'center-region',
    				xtype: 'tabpanel',
    				activeTab: 0,
    				items: [{
    					title: 'Welcome',
    					itemId: 'vp-welcome',
    					xtype: 'welcome',
    					closeAction: 'destroy',
    					closeable: true
    				}, {
    					title: 'Tab2',
    					itemId: 'vp-tab2',
    					closeable: true,
    					closeAction: 'destroy'
    				}, {
    					title: 'Tab3',
    					itemId: 'vp-tab3',
    					closeable: true,
    					closeAction: 'destroy'
    				}]

  • #2
    I see you have a typo in there. It should be 'closable' not 'closeable'

    Comment


    • #3
      i just noticed that... closable: true doesn't work either..

      Comment


      • #4
        nevermind... sheesh.. sometimes u just wanna break something..

        Comment

        Working...
        X