Hi Charles,
Thank you for your interest in Syncfusion products.
Query Frequent update on GridGroupingControl |
Suggestion-1: The reported scenario can be resolved by using UseDefaultsForFasterDrawing property as true. The entire GDI will be redrawn when
this property is enabled. Please refer the below code: gridGroupingControl1.UseDefaultsForFasterDrawing
= true; Please refer the below UG link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!Documents/highfrequencyupdates.htm
|
Suggestion-2: IF you want to optimize the engine , you can use the AllowOptimizations
property. Engine
optimizations can be enabled by setting AllowOptimizations to some
value other than None. Please refer the below code: GridEngine schema = new GridEngine(); schema.InvalidateAllWhenListChanged = false; schema.AllowedOptimizations = EngineOptimizations.All; schema.CounterLogic = EngineCounters.YAmount; Please refer the below UG link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!Documents/memoryperformanceeng.htm
|
|
Suggestion-3: The GridGroupingControl provides easier way to repaint all
the rows once it has been updated. You can set TableDirty = true and the engine won't try to keep anything in
synchronization at that time. Please refer the
below UG link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!documents/listchangedperforman.htm
|
Please let me know if you have any concerns.
Regards,
Neelakandan
Hi Charles,
Thank you for your interest in Syncfusion products.
Query Frequent update on GridGroupingControl |
Suggestion-1:
The reported scenario can be resolved by using UseDefaultsForFasterDrawing property as true. The entire GDI will be redrawn when this property is enabled.
Please refer the below code:
gridGroupingControl1.UseDefaultsForFasterDrawing = true;
Please refer the below UG link:
http://help.syncfusion.com/ug/windows%20forms/default.htm#!Documents/highfrequencyupdates.htm
|
Suggestion-2:
IF you want to optimize the engine , you can use the AllowOptimizations property. Engine optimizations can be enabled by setting AllowOptimizations to some value other than None.
Please refer the below code: GridEngine schema = new GridEngine(); schema.InvalidateAllWhenListChanged = false; schema.AllowedOptimizations = EngineOptimizations.All; schema.CounterLogic = EngineCounters.YAmount; Please refer the below UG link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!Documents/memoryperformanceeng.htm
|
|
Suggestion-3:
The GridGroupingControl provides easier way to repaint all the rows once it has been updated. You can set TableDirty = true and the engine won't try to keep anything in synchronization at that time.
Please refer the below UG link:
http://help.syncfusion.com/ug/windows%20forms/default.htm#!documents/listchangedperforman.htm
|
Please let me know if you have any concerns.
Regards,
Neelakandan
Hi Charles,
Thank you for your update.
The reported child table does not drawn properly can be resolved by enabling the table dirty property for every child table when RecordExpanded. Please make use of below code,
void gridGroupingControl1_RecordExpanded(object sender, RecordEventArgs e)
{
e.Record.Engine.Table.TableDirty = true;
}
}
Note:
If you still have an issue, Is there any possible way for you to provide us with a sample that shows this issue? It will be easier for us to have a closer look into the problem and resolve it.
Please let me know if you have any concerns.
Regards,
Neelakandan
Hi Charles,
Thank you for your update.
We analyzed your reported scenario at our end. The method you are handling to reduce the CPU utilization is better method. The Painting issue may be occurred if nested table or child table does not properly handled for insertion. Meanwhile, we request you to use UseDefaulstForFasterDrawing property. It is used to improve handling of ListChanged events and scrolling through grid. If you still have an issue, Please try to replicate your scenario in below sample. It will help us to provide you better solution as soon as possible.
Please refer the below code:
this.gridGroupingControl1.UseDefaultsForFasterDrawing = true;
Please let me know if you have any concerns.
Regards,
Neelakandan