Thanks a lot Doug!!! it worked for me :)

--- In [email protected], "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> That code snippet looks like Flex 1.5, so you could use:
> 
> <mx:Button label="Red!" click="myDatagrid.setStyle
('selectionColor', 
> 0xFF0000)" />
> 
> 
> --- In [email protected], "newtoflexworld" <mail.sweta@> 
> wrote:
> >
> > I need to change the color of the selected row in a datagrid on 
click
> > of a button i.e. I need to highlight the already selected row in 
red.
> > On the click event of the button ,I am using 
> > 
> >    myGrid.setPropertiesAt(i, {selectionColor:0xFF0000});
> > 
> > where "myGrid" is the datagrid object and "i" is the index of the
> > selected row, but I am not getting the desired result.Does anyone 
> know
> > about a solution to this? I am new to Flex and perhaps I am 
making 
> some
> > basic mistake here.Please help.
> > 
> > Thanks in advance!!
> >
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/
 



Reply via email to