         }
     }
 
-    /*
-     * For graphic elements we don't want to call validateNow() since it calls
-     * validateClient on the parent of the graphic element which is the GridLayer.  
-     * Every time a graphic element is added to the GridLayer a redraw is requested of the 
-     * GridLayer which includes validating all the existing graphic elements.  The redraw of the 
-     * GridLayer will be done later.
-     */
-    private function validateGraphicElement(graphicElt:IGraphicElement):void
-    {
-        graphicElt.validateProperties();
-        graphicElt.validateSize();
-        graphicElt.validateDisplayList();        
-    }
-    
     private function layoutGridElementR(elt:IVisualElement, bounds:Rectangle):void
     {
         if (bounds)

        
        element.visible = false;
        
        // Reset GridItemRenderers back to (0,0), otherwise when the element is reused
        // it will be validated at its last layout size which causes problems with 
        // text reflow.
        
        if (element is GridItemRenderer)
            element.setLayoutBoundsSize(0, 0, false);        
        
        const factory:IFactory = elementToFactoryMap[element]; 
        if (!factory)
            return false;

import mx.events.CollectionEvent;
import mx.events.CollectionEventKind;
import mx.events.PropertyChangeEvent;
import mx.managers.ILayoutManagerClient;
import mx.managers.LayoutManager;

import spark.components.DataGrid;
import spark.components.Grid;
