I am trying to use a grid and sort when the header is clicked, I sucessfully added it to one grid but can't seem to get the second one working. I'm using the basic grid control then adding the following code snippet
//turn off column selections - not absolutely needed but does simplify things
this.gridControl1.AllowSelection = GridSelectionFlags.Any & ~GridSelectionFlags.Column;
//add a sort header to the CellModels... (in 1.0, only available by default in GridDataBoundGrid)
this.gridControl1.CellModels.Add("ColumnHeaderCell", new GridSortColumnHeaderCellModel(this.gridControl1.Model));
But it doesn't seem to be working I think I must have forgotten something but don't know what. Any help would be greatly appreciated.