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. Image for the cookie policy date

Expression field update event

Hi, In my application I need to know when the value in an expression field column changes. I''m catching the Grid_RecordValueChanged, Grid_SourceListListChanged, and Grid_SourceListRecordChanged events, but the value of the expression field is still the old value. It seems as if the expression field value in the grid Record is not changed before the event is sent out because I can see that the expression field value has changed in subsequent events. Is there a way to get the updated expression field value? thanks, Heath

1 Reply

AD Administrator Syncfusion Team July 5, 2005 11:53 PM UTC

You can handle the CurrentRecordContextChange event and test e.Action to catch the action after the editing is complete.
private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
	if(e.Action == CurrentRecordAction.EndEditComplete)
		Console.WriteLine(e.Record);
}

Loader.
Live Chat Icon For mobile
Up arrow icon