 
                     var data:Object = iterator.current;
                     var item:IListItemRenderer;
-                    var c:DataGridColumn;
                     var ch:Number = 0;
-                    var n:int = columns.length;
-                    for (var j:int = 0; j < n; j++)
+                    n = columns.length;
+                    for (j = 0; j < n; j++)
                     {
                         c = columns[j];
 

                    setRowHeight(Math.max(ch, 20));
                }
                else
                    {
                    setRowHeight(20);
            }
                    
                    // If we don't have data yet or any column info we 
                    // want to make sure to make another measurement pass when
                    // we eventually do have valid data.
                    if (!collection || collection.length == 0 || columns.length == 0)
                        itemsNeedMeasurement = true;
        }
    }
        }

    /**
     *  @private

     */
    override protected function commitProperties():void
    {
        var c:DataGridColumn;
        var n:int;
        var j:int;

        super.commitProperties();

        if (fontContextChanged)
        {
            fontContextChanged = false;
            n = columns.length;
            for (j = 0; j < n; j++)
            {
                c = columns[j];
                c.determineFontContext();
            }
        }

        if (itemsNeedMeasurement)
        {
