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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Refresh of the GridGroupControl after datasource has changed

Thread ID:

Created:

Updated:

Platform:

Replies:

66960 Aug 6,2007 03:45 PM UTC Aug 14,2007 12:29 PM UTC WinForms 1
loading
Tags: Grouping
James Evans
Asked On August 6, 2007 03:45 PM UTC

I am using a GGC to display data in a very similar way to an Outlook Inbox. I have a small problem when I refresh the data source, this is what is happening:

I display a list of tasks using the GridGroupingControl. This list of tasks is represented as an IList collection of objects which is set as the datasource on a binding source, the binding source is then set as the data source for the GGC. If I change one of the tasks, I always refresh my list from the database and then wish to rebind to the grid to display the changes. When I rebind the data is only displayed in the cell when I highlight the record that was changed and the changed task should now also exist in a different group.

It looks like the new data has not been put into all the internal data stores for the grid so when the CompareCategoryKey and GetGroupByCategoryKey methods are called they read the data from the record and this data is stale.

I have provided an example of this problem, to simulate it:
Run the application, check the Due Date of both records (one is Null and the other should be set)
Click the Refresh menu (this simulates updating the data source from the database and setting it onto the grid)
Check the Due Date - now you should see a new group has been created for None but one already exists and the data is displayed in the cell when you highlight the record that has changed but the text disappears when you click off the cell.

Studio version v5.1.0.51
.NET version 2.0

Cheers
James

GridGroup.zip

Ramya R [Syncfusion]
Replied On August 14, 2007 12:29 PM UTC

Hi James,

Thank you for your interest in Syncfusion Products.

I was able to reproduce the issue that you have mentioned here.

This issue has been fixed in our latest service pack 5.1.1.0.

You can download this version from the below link,
http://www.syncfusion.com/downloads/latestversion/default.aspx

Unlock key:

If you hold a Syncfusion license with a valid subscription, you can obtain your key for this version by visiting the "Download the latest versions" section within Direct-Trac and clicking on the appropriate key icon. If you are currently evaluating our products or considering renewing an expired subscription, please write to salessupport@syncfusion.com to request a key.

Please let me know if you have any queries.

Thanks & Regards,
Ramya.

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

;