I would like to be able to sort a grid by clicking a column header through code. How can I do this?
The easiest way would be simply to add a column to the SortedColumns collection of the band:
this.ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Add("My Column Key", false);
-Matt