flex-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/FLEX-34761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328680#comment-14328680
] 

Piotr Zarzycki commented on FLEX-34761:
---------------------------------------

Hi [~Devin H],

Please mark Affects Version/s in these jira - In which version of SDK you have seen these
behavior? Provide short example and attache to this jira if it is possible.

Thanks,
Piotr

> 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