 
 package spark.components
 {
+import flash.display.DisplayObject;
 import flash.events.Event;
 import flash.events.EventPhase;
 import flash.events.FocusEvent;

    
    /**
     *  @private
     */
    protected function dataGrid_focusHandler(event:FocusEvent):void
    {
        if (!grid || !(grid.layout is GridLayout))
            return;
              
        // Show the caret if the focus is either on the DataGrid or the
        // columnHeaderBar.
        
        if (event.target == this || 
            (columnHeaderGroup && event.target == columnHeaderGroup))
        { 
            GridLayout(grid.layout).showCaret = 
                event.type == FocusEvent.FOCUS_IN &&
                selectionMode != GridSelectionMode.NONE;
        }    
    }
    
}

    /**
     *  @private
     */
    public function  set selectionMode(value:String):void
    {
        if (selectionMode == value)
            return;
