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,
The program I am working on is kind of big, so I don''t know if this description will be helpful.
I am using a grouping grid, with checkboxes in the header. I use the QueryCellStyleInfo to change the states of the checkboxes. The problem I am having is that the grouping grid doesnt refresh after changes are made. The changes dont show until the group is expanded.
This is probably not enough information...
Thanks
ADAdministrator Syncfusion Team June 29, 2006 10:28 PM UTC
Hi Kav,
Try calling the ReIntialize method instead of the Refresh method. Here is a code snippet.
this.grid.Reinitialize();
Let me know if this helps.
Best Regards,
Haneef
ADAdministrator Syncfusion Team June 29, 2006 10:50 PM UTC
Hey Han
>Hi Kav,
>
>Try calling the ReIntialize method instead of the Refresh method. Here is a code snippet.
>
>this.grid.Reinitialize();
>
>Let me know if this helps.
>Best Regards,
>Haneef
>
ADAdministrator Syncfusion Team June 29, 2006 11:00 PM UTC
Hey Haneef,
Thanks for the quick reply. Unfortunately the ReInitialize method didn''t work.
I will further explain the situation...
I have created a factory class to create my grid. The QueryCellStyleInfo is inside that class.
In the the main class I have created the grid using the factory class. I make the changes to the underlying dataset (which affects the checkboxes). Then I called the ReInitialize method.
A weird effect is that a couple of the groups show the changed state of the checkbox, while others do not.. until expanded.
Would posting the factory class be of some help?
Thanks again
>Hey Han
>
>>Hi Kav,
>>
>>Try calling the ReIntialize method instead of the Refresh method. Here is a code snippet.
>>
>>this.grid.Reinitialize();
>>
>>Let me know if this helps.
>>Best Regards,
>>Haneef
>>
ADAdministrator Syncfusion Team June 29, 2006 11:45 PM UTC
Hi Kav,
You can try calling:
groupingGrid.Table.TableDirty = true;
groupingGrid.Table.SummariesDirty = true;
//For Nested Table is there
groupingGrid.GetTable("ChildTableName").SummariesDirty = true;
groupingGrid.GetTable("ChildTableName").TableDirty = true;
before setting the value to see if this makes things to refresh.
Let me know if this helps. If not, please send us a small sample reproducing the issue in it. Sorry for the inconvenience caused.
Best Regards,
Haneef