This is a migrated thread and some comments may be shown as answers.

How using string format

1 Answer 95 Views
PivotGrid and PivotFieldList
This is a migrated thread and some comments may be shown as answers.
Roman
Top achievements
Rank 1
Roman asked on 04 Sep 2013, 06:46 AM
How add string format to PropertyAggregateDescription (value + " h")?
provider.AggregateDescriptions.Add(
new PropertyAggregateDescription()
 { PropertyName =
"remaining", CustomName = "Остаток", AggregateFunction = AggregateFunctions.Average }
);

1 Answer, 1 is accepted

Sort by
0
Roman
Top achievements
Rank 1
answered on 04 Sep 2013, 07:31 AM
here's how it's done:StringFormat= "0 h"
Tags
PivotGrid and PivotFieldList
Asked by
Roman
Top achievements
Rank 1
Answers by
Roman
Top achievements
Rank 1
Share this question
or