This doesn''t work. In fact, it seems that CurrentCell does change, as it should (although it seems to change back later). But since it gets set to a header cell, it may be that it doesn''t work right.
>The reason the header highlight does not move is because the currentcell does not move.
>
>You can try moving the currentcell when you click a column header by handling the grid.Model.SelectionsChanged event.
>
>this.gridDataBoundGrid1.Model.SelectionChanged += new GridSelectionChangedEventHandler(Model_SelectionChanged);
>
>
>private void Model_SelectionChanged(object sender, GridSelectionChangedEventArgs e)
>{
> if(e.Range.IsCols && e.Reason == GridSelectionReason.MouseDown)
> {
> GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
> cc.MoveTo(cc.RowIndex, e.Range.Left);
> }
>}
>