Articles in this section
Category / Section

How to display discrete value in Numerical format

1 min read

It can be achieved by tweaking the existing functionality of “DisplayIfDiscreteValueEqual”. i.e., Now the SummaryTypeDisplayIfDiscreteValueEqual” is forced to work for both numeric (Ex: 999) and string (special character Ex: ***) .The following code snippet explains the same.


pivotGridControl1.PivotCalculations.Add(new PivotComputationInfo()
FieldName = "TestDouble",
FieldHeader = "TestDouble",
Format = "0.000",
SummaryType = SummaryType.DisplayIfDiscreteValuesEqual,
PadString = "999",
AllowFilter = true,
AllowSort = true




Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment