flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com>
Subject Re: FlexJS : Dispatching event from ItemRenderer
Date Tue, 27 Sep 2016 19:40:14 GMT
I'm converting the example to ArrayList and remembered that I forgot to
tell you an important thing.

The List default beads (specified in the defaults.css of the HTML project)
all work with Array. When you want to switch to ArrayList you need a new
set of beads. Not only do you need to change the
DataItemRendererFactoryForArrayData to
DataItemRendererFactoryForArrayList, you also need to give the List a new

<js:List Š>
       <js:ArrayListSeletionModel />
itemRendererCreated="handler(event)" />

Unfortunately, I forgot to include that model in the manifest for the HTML
project. I have checked that in, so you will need a new nightly build. My
apologies for not catching that sooner.

Don't forget that everything in the data model has to be ArrayList, too.
That¹s in TodoListSample/src/sample/todo/models/TodoListModel.as


On 9/26/16, 3:18 PM, "PKumar" <prashakumar@gmail.com> wrote:

>Thanks for details Peter, I  took the reference of same example which you
>have described here. I tried with  ArrayList factory class but getting the
>run time exception, so I used the bubbling and it is working ok in flash
>side but not working in JS sdie.
>factory approach is fine for me but it should work without any exception.
>will  generate the exception and will post here soon. So that i can get
>yours suggestion on it.
>View this message in context:
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message