Flicker in GGC after change from 4.3.0.30 to 4.4.0.51

Hello,

I use the following code to write user changes to the underlying datasource:

private void grdNegotiationFirst_TableControlCurrentCellAcceptedChanges(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCancelEventArgs e)
{
grdNegotiationFirst.TableControl.CurrentCell.EndEdit();
grdNegotiationFirst.Table.CurrentRecord.EndEdit();
grdNegotiationFirst.Refresh();

// Refresh Summery
bindSummaryData(mCurrentSpreadDisplayGroup);

}

The grid is a GridGroupingControl, the code worked fine with version 4.3.0.30.
After changing to version 4.4.0.51 the grid flickers when the user enters data.

I already tried grdNegotiationFirst.BeginUpdate() and grdNegotiationFirst.EndUpdate(false);

Any other ideas?

2 Replies

AD Administrator Syncfusion Team January 15, 2007 11:12 AM UTC

What is the purpose of this code? Have you tried commenting it out? Maybe it is no longer needed in 4.4.


AD Administrator Syncfusion Team January 16, 2007 07:39 PM UTC

Hello Clay,

the purpose of this code is that the changes from the grid are "written" to the underlying datasource (an ArrayList with self defined objects), when the user leaves the cell.

Without this code, the grid's changes are "written" to the datasource, when the user leaves the row.

The reason to do this, is that another (summary) grid needs refreshing, when values are changed.

Regards,
Michael


Loader.
Up arrow icon