We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to remove fields in GridGroupingControl?


In GridGroupingControl, each time while creating columns, fields are also created along with it and in some cases the fields are unnecessary. Therefore, when there are many columns, then the fields related to it are also added and creates performance problem. To overcome the addition of fields in GridGroupingControl refer to the following solution.


To stop adding the fields to the GridGroupingControl, use the Modify() method. By using this method the fields are not added altogether. You can add the necessary fields alone, by using the TableDescriptor.Fileds.Add() method. In the following code example, there are 11 fields and only two fieldsCompanyName” and “CustomerID” are added.

The following code example illustrates on how the Modify() method works.



The following screenshot displays only two fields, CompanyName and CustomerID.

Figure 1: Only two fields displayed in GridGroupingControl

Sample Link

CS: RemoveFields_GGC_CS

VB: RemoveFields_GGC_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
4984 05/23/2015 05/23/2015 WinForms GridGroupingControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon