Depends on whose listening. Keyboard events are not cancelable so you use stopImmediatePropagation instead of preventDefault(). Maybe it isn't the DG that's listening though. Maybe it is the renderers?
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Cyril Sent: Monday, September 10, 2007 2:32 AM To: [email protected] Subject: [flexcoders] disable KeyUp/KeyDown on datagrid Hi, i'm desperatly trying to disable keyboard events on a datagrid (it creates error in my code when it stayed pushed). I already tried event.preventDefault() but it does nothing at all. I tried also to disable the datagrid but keyboard event are still fired. Any idea ? Thanks, Cyril

