         if  ((rowIndex < rowCount) && (bounds.width == 0)) // implies no columns
             bounds.width = visibleGridBounds.width;
         
+        // Call initializeRowBackground() if possible
+        
+        const gridRowBackground:IGridRowBackground = rowBackground as IGridRowBackground;
+        if (gridRowBackground)
+            gridRowBackground.initializeRowBackground(grid, rowIndex);
+        
         layoutGridElementR(rowBackground, bounds);
     }
 

import spark.components.Grid;
import spark.components.Group;
import spark.components.IGridItemRenderer;
import spark.layouts.supportClasses.LayoutBase;

use namespace mx_internal;

        }
        if (validatingElt)        
            validatingElt.validateNow();

        /*
        if (elt is UIComponent)
            UIComponentGlobals.layoutManager.validateClient(UIComponent(elt), true);
        */

        elt.setLayoutBoundsPosition(x, y);
        
        if (enablePerformanceStatistics)
