I have a double-click to edit example for regular DataGrid on my blog.  You 
might be able to modify it for ADG

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
Bernardo Salazar
Sent: Wednesday, September 10, 2008 1:04 PM
To: [email protected]
Subject: [flexcoders] How to associate a double click with item editting in 
AdvancedDataGrid


Hello,

I have an issue which has been answered before, but the reply that has
the solution is a broken link, i would please need a good link.
Thanks a lot in advance.

I quote the other post:

--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, 
"tungchau81" <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
> In my AdvancedDataGrid which has grouping, I set "editable" property to
> be either "true" or "item" in order to make it editable. I also
> set "editable" property to be "true" for the first column, and "false"
> for the rest of the columns.
>
> A single click of the mouse on any item in the first column will make
> the item editable. The Text Input editor will appear. I looked at the
> source code and realized that Flex developers handled this case in a
> mouseUpHandler function. I wonder if there is anyway I can associate
> a "doubleClick" with item editting capability. I do not want item
> editing to happen with a single click.
>
> Should I listen to the doubleClick event or overwrite mouseUpHandler
> function?
>
> Thanks in advance. Any advice is greatly appriciated.
> Tung Chau
>

Reply via email to