Hi Neha

Check  this hope you like it.

 

Changing the background color of a Datagrid Row in Flex

I have heard this question many times and I don't think it is documented. If you want to change the color of an entire row within a Datagrid in Flex use the following code

dg.setPropertiesAt(2, {backgroundColor:0xFF0000});

Where dg is your datagrid and the first parameter is the row of number you want to change

 

 

  Regards

  Anil Kumar

  Software Engineer

  [EMAIL PROTECTED]

  VANGUARD INFO SOLUTION

  Gurgaon, India


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of neha
Sent: Thursday, January 19, 2006 11:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGridRow Color---really Urgent

 

I want to change the color of an entire Data Grid row in accordance with data of dataProvider

Does anyone know how to do it...?

 

 

Regards,

Neha

Send instant messages to your online friends http://in.messenger.yahoo.com


--
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




-------------------------------------------------------------------------------------------------------------------------- "The information in this e-mail is the property of VanGuard Info-Solution Ltd. and may be confidential and privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you receive this message in error, please notify the sender immediately & forward a copy of this e-mail to [EMAIL PROTECTED] .An E-mail reply to this address may be subject to interception or monitoring for operational reasons or for lawful business practices .This e-mail and any attachments has been scanned for the presence of computer viruses.Vanguard accept no responsibility for computer viruses once e-mail has been transmitted" --------------------------------------------------------------------------------------------------------------------------

Reply via email to