-
14 Mar 2013 11:35 PM #1
Bug with Ext.ux.dataView.DragSelector
Bug with Ext.ux.dataView.DragSelector
Hi everyone,
I've found out that the Ext.ux.dataView.DragSelector class is not compatible with the new Extjs 4.2.
In the "fillRegions" method the following code raise an error:
The "dataview.all.each" doesn't existCode:dataview.all.each(function(node) { regions.push(node.getRegion()); });
Best regards
Daniel
-
17 Mar 2013 7:36 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
Using the examples/view/data-view.html example the drag selector is working.
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.
-
19 Mar 2013 1:43 AM #3
That's right, it is working in the example...
In my case I use a grid and I added this plugin in the view of the grid.
By doing this I have an error in the "fillRegions" method, because "dataview.all" is an instance of Ext.view.NodeCache and this class has no "each" method.
So I guess that the problem comes from the fact I'm using a grid...
What do you think ?
Best
Daniel


Reply With Quote