, 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
: [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
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
[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
();
}
}
}
}
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
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
:
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
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
8 matches
Mail list logo