The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have 3 columns in GGC.Grouping can be done by first 2 column.I have to restrict choosing 3rd column for grouping.ie., Product,Group,Member are the three columns. grouping should be allowed by both product and group.but disable grouping by member. how can it be done?
JJJisha Joy Syncfusion Team December 19, 2008 10:18 AM UTC
Hi Aditi ,
This can be achieved by handling TableControlQueryAllowDragColumn event. You can check for the e.Column for column name and set e.AllowDrag property to false.
See the code:
this.gridGroupingControl1.TableControlQueryAllowDragColumn += new GridQueryAllowDragColumnEventHandler(gridGroupingControl1_TableControlQueryAllowDragColumn);