Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Apache Flex 4.10.0
-
None
-
AIR 3.8, Windows 8.
Description
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: 'Brighten the Corners', Price: 11.99 }]);
]]>
</fx:Script>
Attachments
Issue Links
- is duplicated by
-
FLEX-33832 spark DataGrid editors do not work for cells that must be scrolled to
- Closed