RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan
, 2006 7:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: coloring an entire cell in a DataGrid? doing so causes my datagrid to be empty. any ideas why? override public function set data(value:Object):void { if (!value) return; super.data="" //this.setStyle(backg

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Jeremy Lu
: [flexcoders] Re: coloring an entire cell in a DataGrid? doing so causes my datagrid to be empty. any ideas why? override public function set data(value:Object):void { if (!value) return; super.data="" //this.setStyle(backgroundColor,red); // that line causes my grid to be empty

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan
weight option is subclassing the DataGridItemRenderer. Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu Sent: Monday, July 03, 2006 11:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: coloring an entire cell in a DataGrid

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-30 Thread Jeremy Lu
[mailto:flexcoders@yahoogroups.com] *On Behalf Of *Jeremy Lu *Sent:* Monday, June 26, 2006 4:22 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: coloring an entire cell in a DataGrid? hi Joan, Just wondering is there any particular reason

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Joan Tan
(); } } } } From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews Sent: Monday, June 26, 2006 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: coloring an entire cell in a DataGrid? I'm using an itemRenderer to set

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu
g.drawRect(0, 0, unscaledWidth, unscaledHeight); g.endFill(); } } } } From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews Sent: Monday, June 26, 2006 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: colorin

RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Joan Tan
: coloring an entire cell in a DataGrid? hi Joan, Just wondering is there any particular reason that you don't change the background color in the data() setter like this: public function set data(value:Object ):void{ if( value.myColumnName 50){ //change bg to red }else{ //change

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu
Of Jeremy Lu Sent: Monday, June 26, 2006 4:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: coloring an entire cell in a DataGrid? hi Joan, Just wondering is there any particular reason that you don't change the background color in the data() setter like this: public