-
9 Feb 2010 8:50 AM #11Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
30 Apr 2010 6:27 AM #12
Very nice, Condor. Thank you.
Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
XPsp3/W7sp1
IE8/9/10
FF 20
Chrome 26
-
1 Jun 2010 3:46 AM #13
I needed to make the tab titles of vertical tabpanel editable and found this line was throwing an error:
Replaced it with:Code:var item = this.getComponent(editor.boundEl.id.split(this.idDelimiter)[1]);
Code:var item = Ext.getCmp(editor.boundEl.id.split(this.idDelimiter)[1]);
-
2 Sep 2010 4:46 AM #14
I added a function wich allows you to show the editor by code
Code:Ext.ns('Ext.ux'); Ext.ux.TabTitleEditor = Ext.extend(Object, { init: function(c){ c.on({ render: this.onRender, destroy: this.onDestroy, single: true }); c.editTab = function ( tabIndex ) { this.activate(tabIndex); var tab = this.getActiveTab(); if( tab.titleEditable !== false){ this.titleEditor.startEdit(tab.tabEl, tab.title); } } }, onRender: function(c){ c.titleEditor = new Ext.Editor(new Ext.form.TextField({ allowBlank: false, enterIsSpecial: true }), { autoSize: 'width', completeOnEnter: true, cancelOnEsc: true, listeners: { complete: function(editor, value){ var item = this.getComponent(editor.boundEl.id.split(this.idDelimiter)[1]); item.setTitle(value); }, scope: this } }); c.mon(c.strip, { dblclick: function(e){ var t = this.findTargets(e); if(t && t.item && !t.close && t.item.titleEditable !== false){ this.titleEditor.startEdit(t.el, t.item.title); } }, scope: c }); }, onDestroy: function(c){ if(c.titleEditor){ c.titleEditor.destroy(); delete c.titleEditor; } } });
-
2 Sep 2010 4:49 AM #15Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
You really should put editTab in the prototype instead of assigning it in the constructor. This makes every instance take up more space and makes the plugin harder to extend.
-
23 Jun 2011 4:40 AM #16
ExtJS 4
ExtJS 4
How to apply this plugin on ExtJS 4?
Thanks
-
4 Jul 2012 4:31 AM #17
Tab tile editor plugin
Tab tile editor plugin
Does above plugin works for extjs 4.1?
I have tried above plugin extjs 4.1 but did not work.



Reply With Quote
