hi, using c# window forms..is it possible to change the color of a column?similiar to:
this.grd_Results.DisplayLayout.Bands[0].SortedColumns.Add("Surname", false, true);
i want to do something along the same lines but color the Column in yellow?
Cheers,
hi i m vb.net develper i change the color of my specfic column please visit my code i m sure that code will helpful to u
http://ahmadkhalid44.blogspot.com/2013/05/work-on-ultra-grid.html
You could just do something like the following in the InitializeLayout event of the grid:
e.Layout.Bands[0].Columns["Col 1"].CellAppearance.BackColor = Color.Yellow;
The fact that the column belongs to the SortedColumns collection will not have any effect on this appearance.
-Matt