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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grouping Grid not refreshing properly

Thread ID:

Created:

Updated:

Platform:

Replies:

45882 Jun 29,2006 04:33 PM Jun 29,2006 07:45 PM Windows Forms 4
loading
Tags: Grouping
Administrator [Syncfusion]
Asked On June 29, 2006 04:33 PM

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

Administrator [Syncfusion]
Replied On June 29, 2006 06:28 PM

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

Administrator [Syncfusion]
Replied On June 29, 2006 06:50 PM

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 >

Administrator [Syncfusion]
Replied On June 29, 2006 07:00 PM

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 >>

Administrator [Syncfusion]
Replied On June 29, 2006 07:45 PM

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

CONFIRMATION

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.

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

;