Results 1 to 3 of 3

Thread: [ExtJS 4.1.1] Ext.grid.plugin.DragDrop missing requires

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    1
      0  

    Default [ExtJS 4.1.1] Ext.grid.plugin.DragDrop missing requires

    Ext version tested:
    • Ext 4.1.1

    Description:
    • 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:
    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)
    Possible fix:
    • use "requires" instead of "uses"

    or

    • use Ext.create('Ext.view.DragZone', ... instead of new Ext.view.DragZone
    • use Ext.create('Ext.view.ViewDropZone', ... instead of new Ext.view.ViewDropZone

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    1
      0  

    Default

    it seems that there is the same kind of problem with Ext.tree.ViewDragZone

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

    Default

    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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 in print!

    When posting code, please use BBCode's CODE tags.

Tags for this Thread

Posting Permissions

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