Results 1 to 3 of 3

Thread: Bug with Ext.ux.dataView.DragSelector

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    51
    Vote Rating
    2
      0  

    Default 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:

    Code:
    dataview.all.each(function(node) {
            regions.push(node.getRegion());
    });
    The "dataview.all.each" doesn't exist

    Best regards
    Daniel

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    Using the examples/view/data-view.html example the drag selector is working.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    51
    Vote Rating
    2
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Using the examples/view/data-view.html example the drag selector is working.
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •