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-07-03 Thread Jeremy Lu
ups.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("backgroundColor","red")

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

2006-07-03 Thread Joan Tan
, July 03, 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="" //thi

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

2006-07-03 Thread djbrown_rotonews
> > > > On 6/27/06, Joan Tan wrote: > > > > > > > > > > I believe that this was suggested to me by Alex. I think > > your > > > way > > > > > should work too though. > > > > > > > > > > > > > > >

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

2006-06-30 Thread Jeremy Lu
> > > > >I believe that this was suggested to me by Alex. I think your > way > > > should work too though. > > > > > > > > > -- > > > > > > *From:* flexcoders@yahoogroups.com > [mailto:flexcoders@yahoogroups.com] *On &g

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

2006-06-30 Thread djbrown_rotonews
gt; > > > > > > var g:Graphics = graphics; > > > > > > g.clear(); > > > > > > var grid1:DataGrid = > > > DataGrid(DataGridListData(listData).owner); > > > > > >

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

2006-06-27 Thread djbrown_rotonews
> > 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

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

2006-06-26 Thread Jeremy Lu
alf 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 th

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

2006-06-26 Thread Joan Tan
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 the text color vi

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

2006-06-26 Thread Jeremy Lu
ders@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 the text color via the setStyle ("color",) construct,

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

2006-06-26 Thread Joan Tan
oups.com Subject: [flexcoders] Re: coloring an entire cell in a DataGrid?   I'm using an itemRenderer to set the text color via the setStyle ("color",) construct, but it doesn't appear to be that simple for backgroundColor. Is the data() method part of the rend

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

2006-06-26 Thread Tim Hoff
Here's an example that might help. http://www.forta.com/blog/index.cfm/2006/6/8/Creating-A-Background-Color-Renderer  -TH--- In flexcoders@yahoogroups.com, "djbrown_rotonews" <[EMAIL PROTECTED]> wrote:>> > I'm using an itemRenderer to set the text color via the setStyle> ("color",) construct, bu

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

2006-06-26 Thread djbrown_rotonews
I'm using an itemRenderer to set the text color via the setStyle ("color",) construct, but it doesn't appear to be that simple for backgroundColor. Is the data() method part of the renderer API? --- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote: > > Using item renderer, ye