flex-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/FLEX-34761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Devin updated FLEX-34761:
-------------------------
    Affects Version/s: Apache Flex 4.14.0

> 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
>    Affects Versions: Apache Flex 4.14.0
>            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