             commitEditedItemPosition(null);
             return;
         }
-        //        if (!isItemEditable(item.data))
-        //        {
-        //            // assume that editing was cancelled
-        //            commitEditedItemPosition(null);
-        //            return;
-        //        }
-        
-        //        if (needChangeEvent)
-        //        {
-        //            var evt:ListEvent = new ListEvent(ListEvent.CHANGE);
-        //            evt.columnIndex = coord.columnIndex;
-        //            evt.rowIndex = coord.rowIndex;;
-        //            evt.itemRenderer = item;
-        //            dataGrid.dispatchEvent(evt);
-        //        }
-        
+
         createItemEditor(rowIndex, columnIndex);
-        
-        // if rendererIsEditor, don't apply the data as the data may have already changed in some way.
-        // This can happen if clicking on a checkbox rendererIsEditor as the checkbox will try to change
-        // its value as we try to stuff in an old value here.
-        //if (!columns.getItemAt(event.columnIndex).rendererIsEditor)
-        //            itemEditorInstance = editedItemRenderer;
         
         if (itemEditorInstance is IInvalidating)
             IInvalidating(itemEditorInstance).validateNow();

        if (grid.focusManager)
            grid.focusManager.defaultButtonEnabled = false;

        if (grid.root)
            grid.systemManager.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true);
        

            // defer focus can cause focusOutHandler to destroy the editor
            // and make itemEditorInstance null
            if (itemEditorInstance)
                grid.removeElement(itemEditorInstance);
            else
                grid.invalidateDisplayList();   // force the editorIndicator to be redrawn
            
            dataGrid.hasFocusableChildren = saveDataGridHasFocusableChildren;
            //dataGrid.grid.hasFocusableChildren = saveGridHasFocusableChildren;

            if (dataGrid.scroller)
                dataGrid.scroller.hasFocusableChildren = saveScrollerHasFocusableChildren;
            
            itemEditorInstance = null;
            _editedItemRenderer = null;
