Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    47
    Vote Rating
    0
    nmb1106 is on a distinguished road

      0  

    Default GridDragSource firing DnD on Scroll

    GridDragSource firing DnD on Scroll


    I have a grid full of variables, the user can drag and drop the variable from the grid to other areas in the UI. The DnD action is being fired when the user scrolls.

    I read that this was fixed in 2.2.5, so was expecting it to go away when we updated but still no luck. Here is my drag source code:

    Code:
            new GridDragSource(grid) {
                @Override
                protected void onDragStart(final DNDEvent ev)
                {
                    final ModelData m = grid.getSelectionModel().getSelectedItem();
                    if (m != null)
                    {
                        if (m instanceof ProgramVariableModel)
                        {
                            final ProgramVariableModel pvm = (ProgramVariableModel) m;
                            ev.getStatus().update("Assigning " + pvm.getName());
                            ev.setData(pvm.getName());
                        }
                        else
                        {
                            ev.setCancelled(true);
                            return;
                        }
                    }
                    else
                    {
                        ev.setCancelled(true);
                        return;
                    }
    
                }
            };

  2. #2
    Sencha User
    Join Date
    May 2011
    Posts
    47
    Vote Rating
    0
    nmb1106 is on a distinguished road

      0  

    Default


    Just noticed this is only happening when scrolling via draggin on the scroll bar. How can I prevent that from firing the drag event.