The following steps will used to change group summary for Listview:
- Open model designer by click on application file Model.xafml under YourProject.Web
- Change GroupSummary Property as shown below:
- GroupSummary Format Structure {1}:{2},{3}:{4}
example : TotalPrivateCharge:Sum,TotalPrivateCharge:Sum={0:n2}
- Property Name
- Aggregation Function
- Property Name
- Aggregation String Format. [Sum={0:n2}]
- '0' means first argument which is TotalPrivateCharge
- 'n2' means the second argument which is aggregation function value.
- Result for this aggregation function is 'Sum=25.12'
No comments:
Post a Comment