old and new cell text

Hi, In which event and how could I compare the old and new values of the cell when cursor leaves the cell? Thanks

1 Reply

AD Administrator Syncfusion Team July 17, 2006 10:05 AM UTC

Hi Irina, You can get this by handling the RecordValueChanging event of the TableDescriptor. Refer to the code below. this.gridGroupingControl1.TableDescriptor.RecordValueChanging += new RecordValueChangingEventHandler(TableDescriptor_RecordValueChanging); private void TableDescriptor_RecordValueChanging(object sender, RecordValueChangingEventArgs e) { Console.WriteLine(" New Value: {0} ", e.NewValue ); Console.WriteLine(" Old Value: {0} ", e.Record.GetValue(e.Column) ); } Let us know if you have any other questions. Regards, Rajagopal

Loader.
Up arrow icon