flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Kessler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33666) When scrolling a Spark Datagrid with the mousewheel after starting an itemEditor session, the itemEditor doesn't follow it's cell
Date Fri, 16 Aug 2013 09:33:47 GMT

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

Mark Kessler commented on FLEX-33666:
-------------------------------------

I think the appropriate one should be cancel the edit then if moving the mouse wheel. Especially
if clicking outside it already closes it.

                
> When scrolling a Spark Datagrid with the mousewheel after starting an itemEditor session,
the itemEditor doesn't follow it's cell
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33666
>                 URL: https://issues.apache.org/jira/browse/FLEX-33666
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.10.0
>         Environment: AIR 3.8, Windows 8.
>            Reporter: João Saleiro
>            Assignee: Mark Kessler
>              Labels: datagrid, itemeditor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Create a simple editable Spark Datagrid that has enough lines to make the scroller appear.
Click a cell to start it's editing session, then scroll the Datagrid using the mousewheel.

> The item Editor doesn't follow it's cell.
> I also happens if focusEnabled = false in the DataGrid, and you scroll it normally (you
don't need to use the mousewheel).
>  <s:DataGrid width="300" height="100" dataProvider="{dgArray}" editable="true">

>         <s:columns> 
>             <s:ArrayList> 
>                 <s:GridColumn dataField="Artist"/> 
>                 <s:GridColumn dataField="Price"/> 
>             </s:ArrayList> 
>         </s:columns> 
>     </s:DataGrid> 
> <fx:Script> 
>         <![CDATA[ 
>             import mx.collections.ArrayCollection; 
>             [Bindable] 
>             private var dgArray:ArrayCollection = new ArrayCollection([{ Artist: 'Pavement',
Album: 'Slanted and Enchanted', Price: 11.99 }, { Artist: 'Pavement', Album: 'Slanted and
Enchanted', Price: 11.99 }, { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99
}, { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }, { Artist: 'Pavement',
Album: 'Slanted and Enchanted', Price: 11.99 }, { Artist: 'Pavement', Album: 'Slanted and
Enchanted', Price: 11.99 }, { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99
}, { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }, { Artist: 'Pavement',
Album: 'Slanted and Enchanted', Price: 11.99 }, { Artist: 'Pavement', Album: 'Slanted and
Enchanted', Price: 11.99 }, { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99
}, { Artist: 'Pavement', Album: 'Brighten the Corners', Price: 11.99 }]); 
>         ]]> 
>     </fx:Script> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message