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.
Hi,
I had to build a custom grid engine factory for my application. To make this work I had to set the static variable, "Syncfusion.Windows.Forms.Grid.Grouping.GridEngineFactory.Factory", in the Syncfusion Grid Grouping Framework.
I do not want to change the engine for every GridGroupingControl in my entire application. I want to change the instance of the factory for only one instance of the GridGroupingControl.
Is there any way to do this?
Thanks,
Scott
ADAdministrator Syncfusion Team July 11, 2006 12:05 AM UTC
Hi Scott,
To localize GridEngineFactory , You need to pass the GridEngine object to the GroupingControl constructor in Form''s IntializeComponet method . Here is a code snippet.
this.WidgetGroupingGrid = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl( new CustomGroupingEngineFactory().CreateEngine() );
this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/SetHeightOnTableVersion3_5a6e62f7.zip
Let me know if this helps.
Best Regards,
Haneef
SMScott MercerJuly 11, 2006 02:15 PM UTC
Hi Haneef,
Doh! If I had looked at the overloads for the GridGroupingControl the answer would have been obvious.
That was exactly what I needed.
Thanks again!
Scott