         if (visibleItemRenderer)
             return visibleItemRenderer;
         
+        const rendererLayer:GridLayer = grid.getLayer("rendererLayer");
+        if (!rendererLayer)
+            return null;
+        
         // Create an item renderer.
         var dataItem:Object = getDataProviderItem(rowIndex);
         var column:GridColumn = getGridColumn(columnIndex);

        if (factory == null)
        {
            for each (var oldElt:IVisualElement in oldVisibleElements)
                layer.removeGridElement(oldElt);

            return new Vector.<IVisualElement>(0);
        }

                newVisibleElements[index] = elt;
            }
                        
            layer.addElement(elt);
            
            elt.visible = true;
            
