         gridColumnHeaderGroup.visibleSortIndicatorIndices = indices;
     }
 }
-}+}
+

			var rendererX:Number = gridViewLayout.gridDimensionsView.getCellX(0, headerViewColumnIndex);
            var rendererWidth:Number = grid.getColumnWidth(columnIndex);
            
            // If this is the last visible column and there is a visible vertical scroll bar then
            // adjust the width of the last visible column header so it includes the small space 
            // on top of the vertical scroll bar.

            // ToDo: This needs more work. I'm not sure what the correct behavior should be.  With
            // the adjustment below the width of the last visible renderer seems to include most of 
            // the space over the sb but not all of it.  What is the correct width?
            // The default header renderer will truncate the text if it doesn't fit in the width.
            // If we're scrolling horizontally to the right, and there are more columns to the right 
            // should the header be truncated or clipped if it doesn't all fit in the width?
            if (isLastColumn && vsbVisible)
                rendererWidth = horizontalScrollPosition + unscaledWidth - rendererX - 1; // TODO: this is a temporary hack
            
            renderer.setLayoutBoundsSize(rendererWidth, rendererHeight);
            renderer.setLayoutBoundsPosition(rendererX, rendererY);
            

        var visibleLeft:Number = 0;
        var visibleRight:Number = 0;
        
        // This isn't quite as simple as: 
        //     for each (var columnIndex:int in visibleColumnIndices)
        // since the GridColumnHeaderGroup may be wider than the grid because it
