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

GridGroupingControl not showing underlying datasource changes

Thread ID:

Created:

Updated:

Platform:

Replies:

72074 Feb 29,2008 05:51 PM UTC Mar 4,2008 05:31 PM UTC Windows Forms 1
loading
Tags: Grouping
Bill Richardson
Asked On February 29, 2008 05:51 PM UTC

We have a GridGroupingControl that is bound to a collection that implements IBindingList. We bind the data using the following code:

this.grid.Datasource = theCollection;

At various points, we retrieve data from the database and update the underlying collection. We do this by handling the adds, modifies, and deletes since a certain request time, rather than getting all data at once.

Once the underlying collection's changes have been merged in, we call:

this.grid.Refresh();

to show the changes. We've also tried:

this.grid.Update();

However, the grid display doesn't update, even though the underlying datasource (collection) has been updated.

Is there some specific process we are missing to get the grid to display changes?

Thanks,

Bill Richardson


Administrator [Syncfusion]
Replied On March 4, 2008 05:31 PM UTC

Hi Bill,

If your IBindingList supports the interface INotifyPropertyChanged, then the GridGroupingControl should automatically refresh and show the updates.

Please refer to the sample below for more details.
http://websamples.syncfusion.com/samples/Grid.Windows/F72074/main.htm

Please let me know if you have any questions.

Regards,
Srirajan



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

;