         // based on the dataProvider. Thus setting of columns by dataProvider
         // falls in the same cycle of commitProperties and if moved above will 
         // not get picked unless a second call to commitProperties come
-        if(groupedColumnsChanged)
+        if (groupedColumnsChanged)
         {
             columnGrouping = true;
             columnsChanged = false;

    
    /**
     *  @private
     *  Initialized the headerInfos structure w.r.t to the groupedColumns 
     *  configuration
     */
    override protected function initializeHeaderInfo(groupedColumns:Array):Array
    {
        if(!columnGrouping)
            return super.initializeHeaderInfo(groupedColumns);
        else
            return initializeGroupedHeaderInfo(groupedColumns, null,0,null);
    }
    
    /**

     */
    override protected function createHeaders(left:Number, top:Number):void
    {       
        if (!columnGrouping)
        {
            var creatingHeaders:Boolean = false;
            if (horizontalScrollPolicy != ScrollPolicy.OFF && getOptimumColumns()!= visibleColumns)
            {
                if (!headerItems[0] || !headerItems[0][0] || (top < headerItems[0][0].y + headerItems[0][0].height)) 
                    creatingHeaders = true;
            }

