 import spark.events.GridEvent;
 import spark.events.GridSelectionEvent;
 import spark.events.GridSelectionEventKind;
+
 
 use namespace mx_internal;
 

    public function set columns(value:IList):void
    {
        if (setGridProperty("columns", value))
        {
            if (columnHeaderBar)
                columnHeaderBar.dataProvider = columns;
            // TBD This, and  grid_columnsChangedEventHandler() should do their job at commitProperties time
            dispatchChangeEvent("columnsChanged");
        }
    }
    
    /**

    {
        if (columnHeaderBar && event.property == "horizontalScrollPosition")
            columnHeaderBar.horizontalScrollPosition = Number(event.newValue);
    }    
    
    protected function grid_columnsChangedEventHandler(event:Event):void
    {
        if (columnHeaderBar)
            columnHeaderBar.dataProvider = columns;
    }    
    
}
