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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Refreshing expression field

Thread ID:

Created:

Updated:

Platform:

Replies:

3871 Apr 15,2003 11:57 AM UTC Apr 15,2003 04:07 PM UTC WinForms 1
loading
Tags: GridControl
Jerry Lawrence
Asked On April 15, 2003 11:57 AM UTC

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

Administrator [Syncfusion]
Replied On 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();
}

CONFIRMATION

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.

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

;