         if (headerIndex == -1)
             return;
 
-		// If rtl layout, need to swap LEFT and RIGHT so correct action
-		// is done.
-		var keyCode:uint = mapKeycodeForLayoutDirection(event);
-		
-		var newColumnIndex:int;
+        // If rtl layout, need to swap LEFT and RIGHT so correct action
+        // is done.
+        var keyCode:uint = mapKeycodeForLayoutDirection(event);
+        
+        var newColumnIndex:int;
 
         if (keyCode == Keyboard.DOWN)
         {

            if (!itemEditorInstance)
            {
                var itemEditor:IFactory = col.itemEditor;
				if (itemEditor == AdvancedDataGridColumn.defaultItemEditorFactory)
				{
					// if it is the default factory, see if someone
					// overrode it with this style
					var c:Class = getStyle("defaultDataGridItemEditor");
					if (c)
					{
						var fontName:String =
							StringUtil.trimArrayElements(col.getStyle("fontFamily"), ",");
						var fontWeight:String = col.getStyle("fontWeight");
						var fontStyle:String = col.getStyle("fontStyle");
						var bold:Boolean = (fontWeight == "bold");
						var italic:Boolean = (fontStyle == "italic");
						
						var flexModuleFactory:IFlexModuleFactory =
							getFontContext(fontName, bold, italic);
						
						itemEditor = col.itemEditor = new ContextualClassFactory(
							c, flexModuleFactory);
					}
				}
				
                dx = col.editorXOffset;
                dy = col.editorYOffset;
                dw = col.editorWidthOffset;

     */
    protected function isHeaderItemRenderer(item:IListItemRenderer):Boolean
    {
        // data is set to AdvancedDataGridColumn for header items
        if (item != null && item.data is AdvancedDataGridColumn)
            return true;

        return false;
    }
