Yes, see the other item renderer posts on my blog
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
markgoldin_2000
Sent: Monday, November 03, 2008 5:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Center Checkbox in DG Column
Yes, that works, thanks.
The on
Why are you using the "label" property? That property is not on your
item object.
You should do something like this:
super.data = value;
var xmlData:XML = XML(value);
trace(xmlData.Includeintoreport.text())
selected = (xmlData.Includeintoreport.text() == "true" ? true: false);
Tracy
Maybe:
override public function set data(value:Object):void
{
if(value != null)
{
super.data = value;
selected = ( value.label == "true" ? true: false);
}
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
markgoldin_2000
Sent: Friday, October 31, 2008 3:35 PM
To: flexcoder
Also see:
http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.html
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
markgoldin_2000
Sent: Friday, October 31, 2008 1:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Center Checkbox in DG Column
4 matches
Mail list logo