I just pushed some changes that might help. Binding wasn’t working in
s:MXAdvancedDataGridItemRenderer
-Alex
From: Serkan Taş
Date: Saturday, March 7, 2020 at 9:49 PM
To: "users@royale.apache.org" , Alex Harui
Subject: Re: Grid does not load data
No exception at all.
Debugged the code and
No exception at all.
Debugged the code and the "data" is not set for object I guess it is null...
in the
headerText="{resourceManager.getString('messages', 'stateGrid')}"
width="{this.pinaraJobList.width * 0.10}">
What errors are you getting or what is displayed that is incorrect?
In Royale, the JS runtime does not know about types so if data is XML, I think
you may have to cast earlier. IOW:
Original code:
var liveStateInfo:XML =
XMLList(XML(data.stateInfos.LiveStateInfos).children())[0];
Royale versi
For the other columns rather than the first and second column, I can
live without renderer because it works without renderer but does not
work with renderer.
Equivalent (which works):
headerText="{resourceManager.getString('messages', 'jobNameGrid')}"
width="{this.pinaraJobLi