6 Answers, 1 is accepted
0
Hi Diego,
Please note that using DateTime fields for PivotAggregateField is not recommended. You can use numeric fields instead, for instance:
Hope this helps.
Regards,
Eyup
Telerik
Please note that using DateTime fields for PivotAggregateField is not recommended. You can use numeric fields instead, for instance:
<
telerik:PivotGridAggregateField
DataField
=
"Freight"
Aggregate
=
"Sum"
DataFormatString
=
"{0:C}"
>
</
telerik:PivotGridAggregateField
>
Hope this helps.
Regards,
Eyup
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Tim
Top achievements
Rank 1
answered on 02 Jul 2014, 04:21 PM
Hi Eyup,
May I ask how can I get access to dataformatstring of calculated item in the radpivotgrid column?
Thank you.
May I ask how can I get access to dataformatstring of calculated item in the radpivotgrid column?
Thank you.
0
Hi Tim,
Please note that the PivotGridCalculatedItem does not have a DataFormatString property. You can control its formatting individually for each cell or set the default DataFormatString for its parent PivotGridColumnField:
http://www.telerik.com/help/aspnet-ajax/pivotgrid-custom-data-calculations.html
Hope this helps.
Regards,
Eyup
Telerik
Please note that the PivotGridCalculatedItem does not have a DataFormatString property. You can control its formatting individually for each cell or set the default DataFormatString for its parent PivotGridColumnField:
http://www.telerik.com/help/aspnet-ajax/pivotgrid-custom-data-calculations.html
Hope this helps.
Regards,
Eyup
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Tim
Top achievements
Rank 1
answered on 07 Jul 2014, 09:29 AM
Thanks Eyup,
How can I access the format of e.CalculatedValue cell in particular?
My problem is that I'm trying to get my calculated item to be in percentage where my column is in other format.
Best Regards.
How can I access the format of e.CalculatedValue cell in particular?
My problem is that I'm trying to get my calculated item to be in percentage where my column is in other format.
Best Regards.
0
Tim
Top achievements
Rank 1
answered on 08 Jul 2014, 09:36 AM
Thanks for the reply,
My question above is being answered by other post @ http://www.telerik.com/forums/radpivotgrid-calculated-item
My question above is being answered by other post @ http://www.telerik.com/forums/radpivotgrid-calculated-item
0
Hi Tim,
I'm glad the suggested approach by my colleague has proven helpful.
You can turn to us if new questions arise.
Regards,
Eyup
Telerik
I'm glad the suggested approach by my colleague has proven helpful.
You can turn to us if new questions arise.
Regards,
Eyup
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.