It is possible if you want to try to compute the cell that's visible.  This involves understanding the DataGrid's vPosition, relating that to the data in the DataProvider, and then going through a bunch of undocumented (I think) arrays to reach that cell.  Doesn't sound like much fun, so I think a custom cell renderer is the way to go.

 

Matt

 

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 8:25 AM
To: [email protected]
Subject: [flexcoders] Changing a cell in a datagrid

 

I want to (hopefully using the labelFunction) change the background color of
a cell in a datagrid... or change the color of the text. Is this possible
w/o using a custom cell renderer (which _really_ seems like overkill to just
change a color).

===========================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda



Reply via email to