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

Disable Reflection on column mapping

Thread ID:





116326 May 14,2014 06:28 PM UTC May 20,2014 11:59 AM UTC WinForms 2
Tags: GridGroupingControl
Asked On May 14, 2014 06:28 PM UTC

Is it possible to disable reflection from being used to generate columns and add the columns programmatically?

I'm currently using a UniformChildList to populate the GridGroupingControl, but the base classes in my list extends from a super base class that is causing thousands of properties to be analyzed and therefore causing the control to load very slowly.

Replied On May 15, 2014 03:09 PM UTC

OK, so I found that if I set the following reflection will not happen on the child classes and I can add my own columns to the table:


My only problem now seems to be that the control is still very slow to load.

Any thought?


Solai A L [Syncfusion]
Replied On May 20, 2014 11:59 AM UTC

Hi Mark,

Sorry for the delay.

We would like to suggest you few properties of GGC. These properties would improve the performance.Kindly refer the below provided code snippet.

Code Snippet:


     this.gridGroupingControl1.AllowedOptimizations = Syncfusion.Grouping.EngineOptimizations.RecordsAsDisplayElements;

     this.gridGroupingControl1.AllowSwapDataViewWithDataTableList = true;

     this.gridGroupingControl1.UseOldListChangedHandler = true;

     this.gridGroupingControl1.UseDefaultsForFasterDrawing = true;

     this.gridGroupingControl1.UpdateDisplayFrequency = 100;

     this.gridGroupingControl1.InvalidateAllWhenListChanged = true;

     GridControlBase.UseOldHiddenScrollLogic = true;


If still the issue is not resolved. Please provide us a sample reproducing the issue. So, that it would be easy for us to provide a prompt solution.

Please let us know if you have any concerns.

Thanks & Regards,



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the 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