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
close icon

Refreshing expression field

I am using the following expression that is bound to a GridDataBoundGrid: dsRateAnalysis.PhonesSmallDetails.Columns["MonthlyRevenue"].Expression = "[Quantity] * [Rate]"; When I change (from the grid) the Quantity or Rate field and tab out of the field, MonthlyRevenue is not updated until I move off of the row. Is there a way to get MonthlyRevenue to update immediately and be reflected in the grid? Thanks, Jerry

1 Reply

AD Administrator Syncfusion Team April 15, 2003 04:07 PM UTC

Try calling EndEdit on the Binder after the cell changes.
private void gridDataBoundGrid1_CurrentCellAcceptedChanges(object sender, System.ComponentModel.CancelEventArgs e)
{
	this.gridDataBoundGrid1.Binder.EndEdit();
}

Loader.
Live Chat Icon For mobile
Up arrow icon