flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Saleiro (JIRA) <j...@apache.org>
Subject [jira] [Updated] (FLEX-33666) When scrolling a Spark Datagrid with the mousewheel after starting an itemEditor session, the itemEditor doesn't follow it's cell
Date Thu, 15 Aug 2013 18:59:00 GMT

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

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

    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: 'Slanted and Enchanted', Price: 11.99
}, { Artist: 'Pavement', Album: 'Brighten the Corners', Price: 11.99 }]); 
        ]]> 
    </fx:Script> 

  was:
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. 
The item Editor doesn't follow it's cell.


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

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