Use this line to color the 2nd row red, for example....
datagrid.setPropertiesAt(2, {backgroundColor:0xCC0000});
--- In [email protected], "sanjayd" <[EMAIL PROTECTED]> wrote:
> I tried this, but, it colors the whole grid:
>
> function cellPressEvt(event) {
> event.target.setStyle("color","#FF0000");
> }
>
> while on this topic, is there an elegant way to color the whole row of
> a dataGrid ?
> Thanks in advance.
>
> Sanjay
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/