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

Summary Not Updating After Tab or Arrow Key Pressed

Hi, we''re using v3.3 of grouping gird and have noticed that summary totals are not updating correctly. We''re using custom summary objects If I alter a cell value and press ENTER then summaries recalc OK. But pressing TAB or RIGHT/LEFT arrow the summary is not recalced. It does recalc OK if I UP/DOWN arrow. It''s almost as if the grid isn''t aware of the data change Can you give me any ideas as how to fix this. As far as I''m aware we aren''t cancelling anything inside RecordValueChanging event Help would be very much appreciated Jason

2 Replies

AD Administrator Syncfusion Team October 28, 2005 03:53 PM UTC

To work around this problem, you can try handling CurrentRecordContextChanged.
private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
	if(e.Action == CurrentRecordAction.CurrentFieldChanged)
	{
		this.gridGroupingControl1.CurrencyManager.EndCurrentEdit(); 
		this.gridGroupingControl1.Table.InvalidateSummary();
	}
}


JH Jason Hales October 31, 2005 11:57 AM UTC

Excellent, that''s fixed it. Thanks

Loader.
Live Chat Icon For mobile
Up arrow icon