Category / Section
How to prevent users from dragging or dropping the row or column headers in the grouping bar
1 min read
It can be done by setting the property AllowRunTimeGroupByField for the pivot item to False.
XAML
<syncfusion:PivotItem FieldMappingName="Product" FieldHeader="Product" TotalHeader="Total" AllowRunTimeGroupByField="False"/>
C#
this.pivotGrid1.PivotRows[0].AllowRunTimeGroupByField = false;