-
29 Jan 2013 6:16 AM #1
Answered: BoxReorderer: Using forms in Subpanels
Answered: BoxReorderer: Using forms in Subpanels
Hi,
I try to reorder forms in subpanels with BoxReorderer.
All is good (means: DandD function), but it is not possible, to change the values in the textfields.
How can I fix it? Please help me out!!
Thanx in advance.
Code:Ext.Loader.setPath('Ext.ux', 'ux'); Ext.onReady(function(){ p = Ext.create('Ext.panel.Panel', { width: 300, bodyPadding: 5, default: { width: 300, bodyPadding: 5 }, items: [{ bodyPadding: 5, default: { width: 300, bodyPadding: 5 }, layout: 'vbox', items: [{ xtype: 'panel', title: 'a', items: [{ xtype: 'textfield', fieldLabel: 'text1', emptyText: 'Value3' }, { xtype: 'textfield', fieldLabel: 'text2', emptyText: 'Value4' }] }, { xtype: 'panel', title: 'b', items: [{ xtype: 'textfield', fieldLabel: 'text1', emptyText: 'Value1' }, { xtype: 'textfield', fieldLabel: 'text2', emptyText: 'Value2' }] }], plugins: Ext.create('Ext.ux.BoxReorderer', { }), title: 'Felder', xtype: 'panel' }], title: 'BoxReorderer', renderTo: Ext.getBody() }); });
-
Best Answer Posted by mitchellsimoens
It sounds like the DD is capturing the mousedown event. If you remove the BoxReorderer plugin and make a field draggable, you won't be able to focus on it either.
-
31 Jan 2013 12:06 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3155
It sounds like the DD is capturing the mousedown event. If you remove the BoxReorderer plugin and make a field draggable, you won't be able to focus on it either.
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.
-
1 Feb 2013 5:18 AM #3
Mmmh. Okay. I understand. But do you have any suggestion for moving panels horizontal containing textfields?
Thanx for your help!


Reply With Quote