Results 1 to 2 of 2

Thread: TreePanel dont fire itemmove event on Drag'n'Drop

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8951 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    9
    Vote Rating
    4
      0  

    Default TreePanel dont fire itemmove event on Drag'n'Drop

    Code:
        Ext.widget("window", {      autoShow: true,
          width: 320,
          height: 240,
          layout: "fit",
          items: [{
            xtype: "treepanel",
            viewConfig: {
              plugins: [{ptype: "treeviewdragdrop"}]
            },
            rootVisible: false,
            store: Ext.create("Ext.data.TreeStore", {
              root: {
                children: [{
                  "text": "1",
                  leaf: true
                }, {
                  "text": "2",
                  leaf: true
                }],
                expanded: true
              }
            }),
            listeners: {
              itemmove: function () {
                console.log("I never get there");
              }
            }
          }]
        });
    subject

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,607
    Vote Rating
    59
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Posting Permissions

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