         if (grid.focusManager)
             grid.focusManager.defaultButtonEnabled = false;
 
+        // Invalidate the grid so the editor indicator will be shown.
+        grid.invalidateDisplayList();
+        
         if (grid.root)
             grid.systemManager.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true);
         

            
            // Allow the user code to make any final adjustments and make the editor visible.
            itemEditorInstance.prepare();
            DisplayObject(dataGrid.itemEditorLayer).visible = true;
            itemEditorInstance.visible = true;
            
            itemEditorInstance.addEventListener(FocusEvent.FOCUS_OUT, itemEditorInstance_FocusOutHandler);

            // listen for keyStrokes on the itemEditorInstance (which lets the grid supervise for ESC/ENTER)
            itemEditorInstance.addEventListener(KeyboardEvent.KEY_DOWN, itemEditorInstance_keyDownHandler);

        else if (editedItemRenderer)
        {
            // cancel focus in an item editor by setting focus back to the grid.
            destroyItemEditor();
        }

    }
