             visibleColumnSeparators, oldVisibleColumnIndices, visibleColumnIndices, layoutColumnSeparator, lastVisibleColumnIndex);
         
         // HACK
-        dg = grid.gridOwner as DataGrid;
+        dg = grid.dataGrid;
         if (dg && dg.columnHeaderBar)
             dg.columnHeaderBar.invalidateDisplayList();
         

        if (!columns || lastVisibleColumnIndex < 0)
        {
            // HACK: Make sure columnHeaderBar fixes itself
            var dg:DataGrid = grid.gridOwner as DataGrid;
            if (dg && dg.columnHeaderBar)
                dg.columnHeaderBar.invalidateDisplayList();
            return;

            
            gridRenderer.data = dataItem;
            
            if (grid.dataGrid)
                grid.dataGrid.prepareItemRenderer(gridRenderer, true);
        }
    }
    
    private function uninitializeItemRenderer(renderer:IGridItemRenderer):void
    {
        if (grid.dataGrid)
            grid.dataGrid.discardItemRenderer(renderer, true);
    }
    
    private function freeItemRenderer(renderer:IGridItemRenderer):void
