Beispiel #1
0
        private void PivotGridControl1_CustomUnboundFieldData(object sender, CustomFieldDataEventArgs e)
        {
            switch (e.Field.UnboundFieldName)
            {
            case "COL_PROMEDIO":
                decimal unitPrice = Convert.ToDecimal(e.GetListSourceColumnValue(COL_VALOR2.ExpressionFieldName));

                e.Value = unitPrice;
                break;
            }
        }
Beispiel #2
0
 void pivotGridControl1_CustomUnboundFieldData(object sender, CustomFieldDataEventArgs e)
 {
     e.Value = 0;                // we have two fake columns: Status and Trend
 }