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 a grid grouping control where I have a delegate for the TableControlDrawCellDisplayText event. How do I force the grid to repaint when I need to change the value the delegate uses to calculate the Cell DisplayText? I tried the GridGroupingControl1->Invalidate but this did not work.
ADAdministrator Syncfusion Team July 14, 2006 08:00 AM UTC
Hi Bill,
Can you please try calling the Invalidate method of the TableControl or the InvalidateRange method of the TableModel.
this.gridGroupingControl1.TableControl.Invalidate();
this.gridGroupingControl1.TableModel.InvalidateRange(GridRangeInfo.Table(), GridRangeOptions.None);
Let me know if this helps.
Thanks,
Rajagopal
ADAdministrator Syncfusion Team July 14, 2006 12:49 PM UTC
Hi,
this.gridGroupingControl1.TableControl.Invalidate();
Did the trick!
Thanks!
>Hi Bill,
>
>Can you please try calling the Invalidate method of the TableControl or the InvalidateRange method of the TableModel.
>
>this.gridGroupingControl1.TableControl.Invalidate();
>this.gridGroupingControl1.TableModel.InvalidateRange(GridRangeInfo.Table(), GridRangeOptions.None);
>
>Let me know if this helps.
>Thanks,
>Rajagopal
>