If you call event.preventDefault() on ITEM_EDIT_BEGINNING, the edit
session will not start.  The event contains enough references that you
should be able to think about the data and decide whether to cancel or
not.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Friday, April 18, 2008 2:23 PM
To: [email protected]
Subject: [flexcoders] Row control for DataGrid editing.

 

I am wondering if there is an existing way to control "editable" for a
DataGrid at the row level or at least provide some validation prior to
allowing a column to be edited?

I have a collaborative application and I would like to give the option
to edit a row if that row was entered by the user trying to edit it. 
Before I haul off and extend DataGrid, I thought I would see if there
were a way to toggle editing on/off so that I can control it for each
row.

Thanks, Kevin

 

Reply via email to