Re: [FlexJS]js:List

2016-12-01 Thread Harbs
An array makes it work. Thanks. On Dec 1, 2016, at 1:26 PM, yishayw wrote: > Did you try feeding the data provider with an array instead of an arraylist? > The model seems to expect that. > > > > -- > View this message in context: >

Re: [FlexJS]js:List

2016-12-01 Thread Peter Ent
There are beads designed for Array (the default set) and ArrayList. You need to change the data provider and selection models to match. There is code that does something like: dataProvider is Array and that will be null when the dataProvider is an ArrayList so the code will just return from that

Re: [FlexJS]js:List

2016-12-01 Thread yishayw
Did you try feeding the data provider with an array instead of an arraylist? The model seems to expect that. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-js-List-tp56870p56873.html Sent from the Apache Flex Development mailing list archive at

[FlexJS]js:List

2016-12-01 Thread Harbs
I’m not sure if I’m doing something wrong, or there is an actual problem… I have the following markup in my mxml: I don’t know the content of the List until some point at runtime and Data Binding is too confusing for