Worth a try, but you don't know that the second click is on the same
cell.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Hueners
Sent: Tuesday, November 13, 2007 12:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Editable data in data grid too easily edited

 

Could the editable property be reset from false to true on a 2nd click?

On 11/13/07, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  >
wrote:

If you handle change events & mousedown/up you might know when to cancel
itemEditBeginning

 

________________________________

From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ]
On Behalf Of Scott Melby
Sent: Tuesday, November 13, 2007 4:36 AM
To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> 
Subject: [flexcoders] Editable data in data grid too easily edited

 

IMO it is too easy to get into "edit" mode on an editable DataGrid or 
AdvancedDataGrid. For instance, if I am just selecting a row that was 
not previously selected it would be great if it did not invoke the 
editor until I clicked in the editable column again. This is 
particularly problematic in the AdvancedDataGrid if the first column 
(tree column) is editable. In this case even expanding/contracting the 
tree node puts the user into edit mode on the data in the first column 
of that row.

I am guessing that I would need to extend DataGrid, AdvancedDataGrid and

possibly also provide a custom itemEditor to resolve this issue. But 
wanted to hear if others had suggestions for the cleanest solution.

Any help is appreciated.

Thanks
Scott

-- 
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com <http://www.fastlanesw.com> 

 

 

Reply via email to