Articles in this section
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;
}
 

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied