You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/08/06 12:24:32 UTC
[GitHub] [royale-asjs] alinakazi opened a new issue #448: Assigning
ArrayCollection to ADG.dataProvider
alinakazi opened a new issue #448: Assigning ArrayCollection to ADG.dataProvider
URL: https://github.com/apache/royale-asjs/issues/448
We have few lines of code that were working in flex:
var arrDDResult:Array = e.result as Array;
arrDGDataProvider = arrDDResult[0][0] as ArrayCollection;
Adg.dataProvider = arrDGDataProvider ;
Using Above lines in Royale arrDGDataProvider has null value
We have changed these lines into Royale like:
var arrDDResult:Array = e.result as Array;
arrDGDataProvider = arrDDResult[0] as ArrayCollection;
Adg.dataProvider = arrDGDataProvider.getItemAt(0).source ;
After these changes ,Now its working as Flex But it takes more time to populate data in ADG .
It seems two Dimension Array arrDDResult[0][0] is not working in Royale.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services