This example illustrates how to create the xrPivotGrid control with custom total columns at runtime. You can implement calculated columns by using unbound columns. To accomplish this task you need to add an unbound field to the Data area and then handle the PivotGridControl.CustomCellDisplayText event to calculate the summary from the columns that have already been calculated.
↧