This sample demonstrates the formatting of columns. This can be achieved by defining a GridColumnDescriptor.
Features:
Provides mapping information to a column in the underlying data source
Descriptor associated with a particular column by initializing its mapping name to the required column name
Descriptor that can be used to set the style settings for the specified column
Here is a sample code snippet:
GridColumnDescriptor Descriptor1 = new GridColumnDescriptor(); Descriptor1.MappingName = "ProductID"; Descriptor1.Appearance.AlternateRecordFieldCell.TextColor=Color.White; ... this.gridGroupingControl1.TableDescriptor.Columns.Add(Descriptor1);