You may need to call preventDefault() if you are handling itemEditEnd.
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jitendra jain Sent: Wednesday, April 30, 2008 10:05 PM To: flex group flex Subject: [flexcoders] itemFocusOut for dataGid ItemRenderer Hi , I have a datagrid with some item renderers. I want to write a function that will validate a number when the item lost its focus. But it seems that the item calls the destroyItemEditor() which throws an error #1009. And this function is called twice. Thanks, with regards, JJain Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 ________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62 sR8HDtDypao8Wcj9tAcJ%20>