You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Devin (JIRA)" <ji...@apache.org> on 2015/02/20 08:38:11 UTC

[jira] [Created] (FLEX-34761) DataGrid DragScoll does not work if you disable dropping and call hideDropIndicator on some rows.

Devin created FLEX-34761:
----------------------------

             Summary: DataGrid DragScoll does not work if you disable dropping and call hideDropIndicator on some rows.
                 Key: FLEX-34761
                 URL: https://issues.apache.org/jira/browse/FLEX-34761
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: DataGrid
            Reporter: Devin


The DataGrid's dragscroll behavior is kicked off from within the showDropIndicator() method. It's common to handle/override the dragOverHandler to only allow dropping on certain rows. If you have the rows at the bottom of the scroll window configured to not allow dropping, you would also want to call hideDropIndicator() for those rows. But by doing so, you've also disabled the dragScrolling behavoir.

The dragScrolling behavior should be functional by the drop target calls DragManager.acceptDragDrop() from the dragEnterHandler().  It should not be tied directly to the showDropIndicator() method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)