Category / Section
How to ungroup the columns in the PivotGridControl
1 min read
This requirement can be achieved through the following steps when handled at application.
i) Setting “ShowSubTotal” property for each pivot item as False.
ii) Setting the “ShowExpanderforSinglePivot” property of PivotGridControl as False.
XAML
<syncfusion:PivotItem FieldMappingName="Product" FieldHeader="Product" TotalHeader="Total" ShowSubTotal="False"/> <syncfusion:PivotGridControl VerticalAlignment="Top" x:Name="pivotGrid1" ShowExpanderForSinglePivot="False" ShowSubTotals="False" ShowGrandTotals="False" Grid.Row="2" Margin="5" ItemSource="{Binding ProductSalesData}">
|
C#
public MainWindow() { InitializeComponent(); this.pivotGrid1.ShowExpanderForSinglePivot = false; }