private void pivotGridControl1_CustomCellValue(object sender, DevExpress.XtraPivotGrid.PivotCellValueEventArgs e) { //if (e.RowValueType == DevExpress.XtraPivotGrid.PivotGridValueType.GrandTotal) // e.Value = 0; if (e.ColumnValueType == DevExpress.XtraPivotGrid.PivotGridValueType.GrandTotal && (e.DataField.FieldName == "DBRC" || e.DataField.FieldName == "DALC" || e.DataField.FieldName == "DBKY")) { e.Value = "!"; } }
private void xrPivotGrid1_CustomCellValue(object sender, DevExpress.XtraPivotGrid.PivotCellValueEventArgs e) { }