-
20 Jul 2012 4:46 AM #1
[ExtJS 4.1.1] Ext.grid.plugin.DragDrop missing requires
[ExtJS 4.1.1] Ext.grid.plugin.DragDrop missing requires
Ext version tested:
- Ext 4.1.1
- Ext.grid.plugin.DragDrop is using "uses" instead
Steps to reproduce the problem:- create a grid panel and add the dragdrop plugin
The result that was expected:- no error
The result that occurs instead:
Possible fix:Code:TypeError: Ext.view.DragZone is not a constructor dragText: me.dragText onViewRender(view=Object { deferInitialRefresh=true, scroll=true, xtype="gridview",more...}) DragDrop.js (ligne 252)- use "requires" instead of "uses"
- use Ext.create('Ext.view.DragZone', ... instead of new Ext.view.DragZone
- use Ext.create('Ext.view.ViewDropZone', ... instead of new Ext.view.ViewDropZone
-
20 Jul 2012 4:57 AM #2
it seems that there is the same kind of problem with Ext.tree.ViewDragZone
-
20 Jul 2012 8:41 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 434
Looking at the examples/dd/dnd_grid_to_formpanel.html example, I edit the html to load ext-debug instead of ext-all and this example works without any errors.
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.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote