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

João Saleiro updated FLEX-33665:
--------------------------------

    Description: 
Create the simplest Datagrid possible and make it editable. If you click on a 
cell after scrolling the datagrid, the item editor will be placed on a wrong 
position, out of the Datagrid.

Here's what's happening: http://www.boonzi.com/public/flex/datagrid/bug.png

The code is as simple as:


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

Simply scroll down, and then click any cell to edit it. The itemEditor will be 
placed on the wrong position.


  was:
If you create the simplest Datagrid possible, and make it editable, if you 
click on a cell after scrolling the datagrid, the item editor will appear on a 
"random" place", out of the Datagrid!

Here's what's happening: http://www.boonzi.com/public/flex/datagrid/bug.png

The code is as simple as:


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

Simply scroll down, and then click any cell to edit it. The itemEditor will be 
placed on the wrong position.


    
> ItemEditors are placed on the wrong position after scrolling an editable 
> Spark Datagrid
> ---------------------------------------------------------------------------------------
>
>                 Key: FLEX-33665
>                 URL: https://issues.apache.org/jira/browse/FLEX-33665
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.10.0
>         Environment: All
>            Reporter: João Saleiro
>            Priority: Critical
>              Labels: datagrid, itemeditor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Create the simplest Datagrid possible and make it editable. If you click on a 
> cell after scrolling the datagrid, the item editor will be placed on a wrong 
> position, out of the Datagrid.
> Here's what's happening: http://www.boonzi.com/public/flex/datagrid/bug.png
> The code is as simple as:
>     <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>
> Simply scroll down, and then click any cell to edit it. The itemEditor will 
> be placed on the wrong position.

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

Reply via email to