You can also easily disable editing of a cell in the itemEditBeginning
event handler, using preventDefault.  There is a complete example on
www.cflex.net <http://www.cflex.net/> .

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mr Greg Murnock
Sent: Tuesday, December 18, 2007 3:35 PM
To: [email protected]
Subject: Re: [flexcoders] disable edit in DataGrid row depending on cell
value

 

actually I found exactly what I was looking for at:

http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.ht
ml
<http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.h
tml> 

Thanks for the write up Alex.
Greg

 

----- Original Message ----
From: Mr Greg Murnock <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, December 18, 2007 3:12:47 PM
Subject: [flexcoders] disable edit in DataGrid row depending on cell
value

What is the best way to disable the edit property, or any other
property, in a DataGrid cell row based on the value of an item in a row?
For Instance - say I don't want a value to be edited because that
"order" has already been processed.   

Greg 

 

________________________________

Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
<http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc
h/category.php?category=shopping>  

 

 

________________________________

Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs>  

 

Reply via email to