I was wondering if you could post an example of what is meant by derive the
visuals. I can see the same thing happening in my renderer, but I'm not sure
what to do to correct it.
--- In flexcoders@yahoogroups.com, azona26 azsl1326-em...@... wrote:
Got it! Thanks for the additional insight as
That is discussed here (under recycling): http://blogs.adobe.com/aharui/2007/03/
On 4/8/10 4:22 PM, jmfillman jmfill...@verizon.net wrote:
I was wondering if you could post an example of what is meant by derive the
visuals. I can see the same thing happening in my renderer, but I'm not
I understand that itemRenderers are reused, however, my renderer always set's
the label and the color, so it would seem to me that this would always
overwrite what was set previously. What's causing me issue is that the items in
the DropDownList display in the reverse order of the dataProvider,
Let’s get rid of creationComplete and wire up to dataChange or override the
data setter and see what happens.
On 4/8/10 5:23 PM, jmfillman jmfill...@verizon.net wrote:
I understand that itemRenderers are reused, however, my renderer always set's
the label and the color, so it would seem
Here's the code:
s:ItemRenderer xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx autoDrawBackground=true
height=20
creationComplete=itemrenderer_creationCompleteHandler(event)
fx:Script ![CDATA[ import
The rules for itemrenderers haven’t changed that much. You must still derive
all of your visuals from the data property. Use dataChange instead of
creationComplete.
On 3/29/10 9:32 AM, azona26 azsl1326-em...@yahoo.com wrote:
Here's the code:
s:ItemRenderer
Thanks. However switching to dataChange event causes all items in the
DropDownList to change their text color.
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
The rules for itemrenderers haven't changed that much. You must still derive
all of your visuals from the data
You must derive all visuals, and that means resetting the color if it doesn’t
meet the criteria.
On 3/29/10 10:44 AM, azona26 azsl1326-em...@yahoo.com wrote:
Thanks. However switching to dataChange event causes all items in the
DropDownList to change their text color.
--- In
Got it! Thanks for the additional insight as that is exactly what I needed to
do.
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
You must derive all visuals, and that means resetting the color if it doesn't
meet the criteria.
On 3/29/10 10:44 AM, azona26
9 matches
Mail list logo