How to Format Summary Rows

3 Jan 2020 / 1 minute to read

The following code shows how to format summary rows.

//summaryColumnDescriptor is GridSummaryColumnDescriptor. 

//Changes the backcolor of the SummaryFieldCell.
summaryColumnDescriptor.Appearance.SummaryFieldCell.BackColor = Color.LightBlue;

//Changes the type of SummaryFieldCell.
summaryColumnDescriptor.Appearance.SummaryFieldCell.CellType = "ComboBox";
'summaryColumnDescriptor is GridSummaryColumnDescriptor. 

'Changes the backcolor of the SummaryFieldCell.
summaryColumnDescriptor.Appearance.SummaryFieldCell.BackColor = Color.LightBlue

'Changes the type of SummaryFieldCell.
summaryColumnDescriptor.Appearance.SummaryFieldCell.CellType = "ComboBox"