You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "pol poggi (JIRA)" <ji...@apache.org> on 2015/09/02 16:53:46 UTC

[jira] [Commented] (FLEX-34925) spark List scroller doesn't update

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

pol poggi commented on FLEX-34925:
----------------------------------

up

> spark List scroller doesn't update
> ----------------------------------
>
>                 Key: FLEX-34925
>                 URL: https://issues.apache.org/jira/browse/FLEX-34925
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: List
>    Affects Versions: Apache Flex 4.14.1
>         Environment: Windows
>            Reporter: pol poggi
>   Original Estimate: 10.2h
>  Remaining Estimate: 10.2h
>
> Hello,
> the spark Flex Scroller doesn't update when the dataProvider change on Windows
> Steps to reproduce :
> click on "Add List" button, then click on "Replace List" button
> {code:ActionScript}
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
>     xmlns:s="library://ns.adobe.com/flex/spark">
>     <s:layout>
>         <s:VerticalLayout/>
>     </s:layout>
>     
>     <fx:Script>
>         <![CDATA[
>             private function addListToDP():void {
>                 myList.dataProvider.addItem("Flex hjjhjh hjjhhjhj hjjhhjhj jhjhhjhj hjhjhjhj hjjhhjjhh jhhjhj");
>             }
>             private function replaceListToDP():void {
>                 myList.dataProvider.setItemAt("Flex hjjhjh hjjj", 0);
>             }
>         ]]>
>     </fx:Script>
>     <s:List id="myList" width="200">
> 		<s:ArrayList/>
> 	</s:List>
>     
>     <s:Button label="Add List"
>         click="addListToDP();"/>
>     <s:Button label="Replace List"
>         click="replaceListToDP();"/>
> </s:Application>
> {code}
> !http://pol2095.free.fr/Scroller_bug.png!
> Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)