Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-15-2006, 06:45 PM   #1
harvardFlex
Registered User
 
Join Date: Oct 2006
Posts: 7
Default Multiple DataGrid itemEditEnd event when making single edit

Hi!

I am trying to implement a custom event handler for the itemEditEnd event for a DataGrid with a custom item renderer. For some reason multiple itemEditEnd events are being dispatched when I edit a cell in the lone editable column of my DataGrid. Any ideas why this is happening?

Thanks!
harvardFlex is offline   Reply With Quote
Old 11-15-2006, 09:18 PM   #2
CDHBookingEdge
Registered User
 
Join Date: Oct 2006
Posts: 383
Send a message via MSN to CDHBookingEdge
Default

Just a thought, are you checking the reason for the itemEditEnd event having been raised in your handler?

Here's what made me ask that: Determining the reason for an itemEditEnd event
CDHBookingEdge is offline   Reply With Quote
Old 11-16-2006, 02:16 PM   #3
harvardFlex
Registered User
 
Join Date: Oct 2006
Posts: 7
Default

Yes, the reason for all the events is other.
harvardFlex is offline   Reply With Quote
Old 11-16-2006, 03:49 PM   #4
CDHBookingEdge
Registered User
 
Join Date: Oct 2006
Posts: 383
Send a message via MSN to CDHBookingEdge
Default

Ok, first off let me apologize, because I'm in the middle of changing development environments and so I'm not able to do pretty much any testing, debugging and the like at the moment. But if you take the example provided on Determining the reason for an itemEditEnd event do you see the same thing happening as you see in your code?

Now I'm guessing and I could be wrong, that since you said you have a renderer attached you're checking to see what the user typed and modifying that as needed. If that's not why you're putting in the listener then let's try and get that understood. Also, I'm just wondering, is the reason "other" when the action that you're expecting to react to happens?

From glancing about in the docs it sounds like the itemEditEnd event gets fired any time the cell loses focus.

Oh and you might want to check some of the properties of the event in your debugger.

Just throwing some ideas out.
CDHBookingEdge is offline   Reply With Quote
Old 02-04-2007, 12:39 AM   #5
caseyd
Registered User
 
Join Date: Feb 2007
Posts: 1
Default Same multiple events here

Did you ever figure out why you were getting multiple events?

I am having this problem as well.
caseyd is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Publishing multiple SWFs as 1 single EXE ickwong Projectors and CDs 4 01-30-2006 02:32 AM
multiple variables in a single text box mog ActionScript 2.0 1 11-23-2004 07:04 AM
Making multiple use of one external text document marc0047 ActionScript 2.0 2 11-05-2004 04:09 PM
making event call from within a class on a MC in root rfan622 ActionScript 2.0 5 08-13-2004 08:38 PM
Making Multiple Choice holdaway Other Flash General Questions 1 11-26-2002 03:05 PM


All times are GMT. The time now is 11:54 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.