flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34761) DataGrid DragScoll does not work if you disable dropping and call hideDropIndicator on some rows.
Date Fri, 20 Feb 2015 07:38:11 GMT
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)

Mime
View raw message