[ https://issues.apache.org/jira/browse/FLEX-33450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13618264#comment-13618264 ]
Alex Harui commented on FLEX-33450: ----------------------------------- Here's a possible workaround. It doesn't solve the problem that the lower DG should go directly into edit mode, but for me it prevents the RTE so you can click again on the lower dg and enter edit mode. Add this to the script block: public function hack(event:DataGridEvent):void { if (event.target != getFocus()) { trace("not us"); event.preventDefault(); } } and call from both dg's like this: itemEditBeginning="hack(event)" > RTE - PopupManager mx.controls.DataGrid > --------------------------------------- > > Key: FLEX-33450 > URL: https://issues.apache.org/jira/browse/FLEX-33450 > Project: Apache Flex > Issue Type: Bug > Components: mx: DataGrid, PopUp Manager > Affects Versions: Adobe Flex SDK 4.5 (Release), Apache Flex 4.9.0 > Environment: Internet Explorer 8, Windows 7, FlashPlayer version [WIN > 11,4,402,287] > Reporter: Bharath > Assignee: Alex Harui > Priority: Blocker > Attachments: TestPopup.fxp > > > I'm getting a Runtime Exception on Internet Explorer [TypeError: Error #1009: > Cannot access a property or method of a null object reference.] when showing > DataGrids on a TitleWindow using PopupManager. It works fine on FireFox. > Unfortunately, all our users prefer Internet Explorer. > 1) Open a TitleWindow from the main application.Two DataGrids are laid on a > TitleWindow vertically. > 2) Click into an editable column on the FIRST DataGrid and type something. > 3) Move your mouse to another application (For eg., Outlook). > 4) Now click into an editable column on the SECOND DataGrid. > 5) The following exception is raised and the screen goes BLACK. > TypeError: Error #1009: Cannot access a property or method of a null object > reference. > at > mx.controls::DataGrid/itemEditorItemEditBeginHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/mx/src/mx/controls/DataGrid.as:5287] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/core/UIComponent.as:13160] > at > mx.controls::DataGrid/commitEditedItemPosition()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/mx/src/mx/controls/DataGrid.as:4115] > at > mx.controls::DataGrid/updateDisplayList()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/mx/src/mx/controls/DataGrid.as:1822] > at > mx.controls.listClasses::ListBase/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as:3968] > at > mx.managers::LayoutManager/validateDisplayList()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:744] > at > mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:827] > at > mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188] > at flash.utils::Timer/_timerDispatch() > at flash.utils::Timer/tick() -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira