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.
Unfortunately, activation email could not send to your email. Please try again.

Refreshing expression field

Thread ID:

Created:

Updated:

Platform:

Replies:

3871 Apr 15,2003 07:57 AM Apr 15,2003 12:07 PM Windows Forms 1
loading
Tags: GridControl
Jerry Lawrence
Asked On April 15, 2003 07:57 AM

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 12:07 PM

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.

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.

;