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.

How to refresh unbound fields at runtime in GridGroupingControl?

Solution:

By default, the unbound columns in GridGroupingControl need a manual repaint to reflect changes in cell values. To automatically update its cell values, the INotifyPropertyChanged interface has to be implemented and the ReferencedFields property of UnboundField has to be set.

The INotifyPropertyChanged raises the ListChanged events and thereby refreshes the changed values in the grid cell. The setting of ReferencedFields property to UnboundField informs the engine to update the unbound field whenever change in UnboundField is detected.

C#

VB

Sample Links:

RefreshUnboundFields-CS1054253529.zip

RefreshUnboundFields-VB1217209965.zip

Article ID: Published Date: Last Revised Date: Platform: Control:
725 04/30/2011 03/11/2015 Windows Forms GridGroupingControl
Did you find this information helpful?
Comments
syed wasi ali Aug 18, 2015
how to attach INotifyPropertyChanged to this ubound field?
Reply
Add Comment
You must log in to leave a comment

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.