Changes in BusinessObject not (correctly) reflected in Grid

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?

 


1 Reply

AS Asarudheen S Syncfusion Team 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.

Loader.
Up arrow icon