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

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

    [ 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)