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

 

 

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