Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142814 | Feb 20,2019 05:10 PM UTC | Feb 25,2019 01:28 PM UTC | WPF | 3 |
![]() |
Tags: PivotGridControl |
#MainWindow.xaml
<syncfusion:PivotGridControl x:Name="pivotGrid1" Margin="5" ItemSource="{Binding ProductSalesData}" ShowGrandTotals="True" ShowSubTotals="False"
> <syncfusion:PivotGridControl.PivotRows> <syncfusion:PivotItem FieldMappingName="Country" FieldHeader="Country" TotalHeader="Total"/> <syncfusion:PivotItem FieldMappingName="Food" FieldHeader="Food" TotalHeader="Total"/> </syncfusion:PivotGridControl.PivotRows> <syncfusion:PivotGridControl.PivotCalculations> <syncfusion:PivotComputationInfo CalculationName = "Total" FieldName = "Amount" SummaryType="DoubleTotalSum" CalculationType="NoCalculation"/> </syncfusion:PivotGridControl.PivotCalculations> </syncfusion:PivotGridControl> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.