You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mark Kessler (JIRA)" <ji...@apache.org> on 2015/08/12 03:04:45 UTC

[jira] [Resolved] (FLEX-34028) Cannot Ctrl-Click A Datagrid Row to deselect it when dragEnabled is set to true

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

Mark Kessler resolved FLEX-34028.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Apache Flex 4.15.0

Changed how the down click drag preparation behavior works.  If the CTRL key is down and the current item being clicked on is already selected (meaning would toggle it's selection) it will avoid the drag prep.  This allowed the selection toggle to work again.

passed mini_run components/DataGrid



> Cannot Ctrl-Click A Datagrid Row to deselect it when dragEnabled is set to true
> -------------------------------------------------------------------------------
>
>                 Key: FLEX-34028
>                 URL: https://issues.apache.org/jira/browse/FLEX-34028
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.12.0
>         Environment: Flash Builder 4.7
> Windows 7 Professional Service Pack 1
>            Reporter: Steve Wright
>            Assignee: Mark Kessler
>              Labels: easytest
>             Fix For: Apache Flex 4.15.0
>
>         Attachments: Main.mxml
>
>
> When dragEnabled is set to true on a Spark datagrid it is not possible to deselect a row using Ctrl-Click.
> See attached flle containing a datagrid with a toggle button to enable/disable the dragEnabled property.
> To see normal behaviour: 
> * Ctrl+A to select all and then Ctrl+Click on a specifiic row to deselect it.
> To recreate the bug: 
> * Click on the toggle button to enable dragging. 
> * Ctrl+A to select all and then Ctrl+Click on a specifiic row to deselect it. It will fail to deselect the row.



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