flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (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 04:03:47 GMT

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

Alex Harui commented on FLEX-33666:
-----------------------------------

MX datagrid would stop editing session when you touched outside the editor so touching the
scrollbar would the session and the editor could not be scrolled.  I'm pretty sure mouseWheel
also cancels editing in MX DataGrid.
MX DG did not use scrollrect which also made scrolling the editor tricky.  We heard a few
requests for keeping the editing session up when scrolling.

Spark DG may parent the editor where the it will be affected and then the scrollrect should
affect it.  And if it doesn't, it might be interesting to see what it would take to do it.
 But otherwise, it might be simpler to cancel the edit session.  There could be subtle usability
issues if you can scroll the editor offscreen and then type into it.  Not sure what an accessibility
screen reader will do in that case.
                
> 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