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.

GGC automatically picking up changes in the datasource.

Thread ID:





55592 Feb 1,2007 07:25 AM Feb 2,2007 01:19 PM Windows Forms 1
Tags: Grouping
Administrator [Syncfusion]
Asked On February 1, 2007 07:25 AM

Hi Team,

Thanks for all your efforts.

I have a GGC who's datasource is a custom collection class that implements IListSource. I update the values within this collection frequently, and these changes need to be shown in the GGC (so effectively the GGC is a 'live' ticking grid).

Can you please explain how I can reflect the changes in the collection class in my GGC?

I have tried setting the datasource to null and then to the updated collection, but this is very cpu intensive (100% usage). I've also tried the 'Refresh' method but this too is cpu intensive.

Is there any way I can get the GGC to automatically pick up changes in the collection class?

Thanks very much,

Chris Dawson.

Administrator [Syncfusion]
Replied On February 2, 2007 01:19 PM

Hi Chris,

Thank you for being patience.

This can be achieved by triggering the ListChanged event of the grid in fake. For this, the SimulateListChanged method of the Table is called with the corresponding ListChangedEventArgs instance. The following is the sample, please try it and let us know if you need any further assistance.

Sample : http://www.syncfusion.com/Support/user/uploads/TestApp1_Modified_7ee9f840.zip

Kindly let us know if you need any further assistance.
Have a nice day.

Best regards,


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.

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.