On Wed, 09 Mar 2005 21:31:30 -0000, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

> function setValue(str:String, item:Object, sel:String) : Void {
> if (item.c_state=='GA') {
> lbl.setStyle("color", 0x006600);
> } else {
> lbl.setStyle("color", 0x000000);
> }

Do setStyle() on the cell itself, not the label.

if (item.c_state=='GA') {
setStyle("backgroundColor", 0x006600);
} else {
setStyle("backgroundColor", 0x000000);
}

Manish


Reply via email to