Results 1 to 2 of 2

Thread: TreeGrid : bug with DD

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default TreeGrid : bug with DD

    1) Step. Start DD from bottom grid to top grid.
    Mouse on the column title.

    1 step.jpg

    2) Step [WITH EXTJS BUG]
    Move themousedown.
    2 step.jpg

    When the node is highlighted in gray I drop item. There is no green strip. An error occurs.

    3) Step [THERE IS NO GUG]

    3 step.jpg

    when the node is highlighted in gray I drop item. If you have a green stripe. There is no error.


    Code:
        this.cmp_alocGrid = Ext.create('Project.view.inventory.admin.alocGrid', {
          scroll: false,
          viewConfig: {
            style           : { overflow: 'auto', overflowX: 'hidden' },
            plugins: [{
                        ptype: 'gridviewdragdrop',
                        dragGroup: 'firstGridDDGroup',
                        dropGroup: 'firstGridDDGroup'
                      },
            ],
            listeners: {
              beforedrop : function (node, data, overModel, dropPosition, dropFunction, eOpts) {
    
    
                var parent_id = overModel.data.id; //!!!ERRER overModel is undefined FOR Step 2!
    
    
                --- SOME CODE THERE ---
    
    
                return false;
              }
            }
          },
        });

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

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