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

New & Old values

Thread ID:





57947 Mar 14,2007 02:00 PM UTC Mar 14,2007 02:44 PM UTC WinForms 1
Tags: GridControl
Asked On March 14, 2007 02:00 PM UTC


Question: In CurrentRecordContextChange event of GGC control and EndEditCalled action is it possible to get old values? If user replaces some data I need to know previous values. Is it possible?

GGC control is getting data from DataTable.


Administrator [Syncfusion]
Replied On March 14, 2007 02:44 PM UTC

Hi Srdjan,

You can use the Table.ChangedFieldsArray collection property to detect changes in the datasource when the ListChanged event is called. Here is a code snippet to show this.

private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
if( e.Action == CurrentRecordAction.EndEditCalled )
Record rec = e.Record as Record;
if( rec != null)
foreach(ChangedFieldInfo fInfo in e.Table.ChangedFieldsArray )
Console.WriteLine( " ColumnName = {0}: OldValue:{1} => NewValue:{2}", fInfo.Name, fInfo.OldValue, fInfo.NewValue);

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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