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

Changes in BusinessObject not (correctly) reflected in Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

103699 May 25,2012 06:15 AM UTC May 29,2012 11:23 AM UTC WinForms 1
loading
Tags: GridControl
Mr. Sascha Wald
Asked On May 25, 2012 06:15 AM UTC

I assigned a datasource as a generic Collection as shown in your documentation

http://help.syncfusion.com/UG/User%20Interface/Windows%20Forms/Grid/documents/4342342genericcollection.htm

with the INotifyPropertyChanged-interface for a GGC.

The grid itself is readonly. I use it to select the objects to edit. Edition and update of the object is done by controls in another panel. When updated there, the notifypropertchanged-event raises, and the datasource (collection) contains the updated values.
The grid shows the updated values also. But only when that row is selected! When the updated row is deselected, the old values are shown in the corresponding cells. Reselecting the row, and the new values are shown.

Any idea what could be wrong?

 


Asarudheen S [Syncfusion]
Replied On May 29, 2012 11:23 AM UTC

Hi Sascha,

Thank you for your interest in Syncfusion products.

We are unable to reproduce the reported issue at  our end. As a suggestion please try to set the property TableDirty" to true in the "SourceListListChanged" event  to resolve the issue. Please refer the following code.

   this.gridGroupingControl1.SourceListListChanged += new Syncfusion.Grouping.TableListChangedEventHandler(gridGroupingControl1_SourceListListChanged);
    
                void gridGroupingControl1_SourceListListChanged(object sender, Syncfusion.Grouping.TableListChangedEventArgs e)
        {
            e.Table.TableDirty = true;
        }

if still the issue exists, could you please  send us issue reproducing sample so that it will be more helpful to us to sort out the  cause of the issue and provide you a solution?

Regards,
Asarudheen.

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

;