Issue with assigning an ArrayCollection onto a ModelLOcator ArrayCollection in Cairngorm framework.


hi,

 

 

i have been having issue modellocator arraycollection assignment of local list after web service result returned.

 

after web service returend list of data, add each record item onto local arraycollection.

now want use arraycollection on datagird, trying assign local arraycollection onto arraycollection varibale on modellocator, can used on mxmxl datagrid.

 

however, screen seems freeze @ point of code.

 

code snippet:

 

modellocator:

 

public var getbasedatalist: arrayofbasedata;

 

deletagate on result of web service call:

 

__ccmodel.getbasedatalist.additem(data); // code freezes @ point.

 

i tried put webservice results local list as,

 

var baselist = new arraycollection;

__ccmodel.getbasedatalist = baselist; // code freezes @ point

 

my local baselist show having 3 items.

 

any insight on issue great.

 

thanks.

hi if explain problem in more simpler manner best track issue.according understanding have make modellocators data bindable datagrid/ or can try replace arrayofbasedata arraycollection.


you have ensure modellocator collection should instantiated.


var arrcoll:arraycollection = new arraycollection();


thanks.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???