Sep 27, 2012, 9:41 AM
[CLOSED] Upgrade to Ext.net 2 the example "TabPanel with plugins to rename tab inline, ....."
Goodmorning,
I am trying to update to Ext.net 2 the example http://forums.ext.net/showthread.php...-confirm-close .
I am firm to the point to the itemTpl of TabPanel, I am comparing the documentation of Ext JS 3.4 Sencha with the documentation of Ext JS 4.1.2 Sencha, but I don't succeed in finding the itemTpl.
This is old code:
Jimmy
I am trying to update to Ext.net 2 the example http://forums.ext.net/showthread.php...-confirm-close .
I am firm to the point to the itemTpl of TabPanel, I am comparing the documentation of Ext JS 3.4 Sencha with the documentation of Ext JS 4.1.2 Sencha, but I don't succeed in finding the itemTpl.
This is old code:
onTabPanelRender: function () {
this.addTab = this.tp.itemTpl.insertBefore(this.tp.edge, {
id: this.tp.id + 'addTabButton',
cls: 'add-tab',
text: this.addTabText || ' ',
iconCls: ''
}, true);
this.addTab.child('em.x-tab-left').setStyle('padding-right', '6px');
this.addTab.child('a.x-tab-right').setStyle('padding-left', this.tp.tabPosition == 'top' ? '6px' : '0px');
this.setEnableState();
}
Thank you very muchJimmy
Last edited by geoffrey.mcgill; Sep 29, 2012 at 2:03 AM.
Reason: [CLOSED]