RE: [flexcoders] Re: Center Checkbox in DG Column

2008-11-03 Thread Alex Harui
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

RE: [flexcoders] Re: Center Checkbox in DG Column

2008-11-01 Thread Tracy Spratt
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

RE: [flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread Alex Harui
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

RE: [flexcoders] Re: Center Checkbox in DG Column

2008-10-31 Thread Alex Harui
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