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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem Changing SummaryType in SummaryRows

Thread ID:





23987 Jan 26,2005 01:36 PM UTC Jan 27,2005 07:13 AM UTC WinForms 3
Tags: Grouping
Jason Hales
Asked On January 26, 2005 01:36 PM UTC

This is an odd one. I''m using a v3 grouping grid with a number of CustomSummary objects derived from SummaryBase At runtime, I sometimes need to change from SummaryType.DoubleAggregate to SummaryType.Custom and vice versa - after I''ve updated some bound table data. I actually clear the summary objects and then recreate them using GridSummaryRowDescriptor.SummaryColumns.Add() but have found the first time that I do this the Summary value is NOT being displayed at all. But if I alter them a subsequent time, using the same Factory code, all displays OK. I can see the correct CreateSummaryMethod and Combine methods being called but if I put a breakpoint on ToString it doesn;t get called I''ve tried doing things like syncGrid.TableDescriptor.EnsureSummaryDescriptors but this make no difference. Any ideas TIA Jason

Jason Hales
Replied On January 26, 2005 01:55 PM UTC

FYI, I''m also setting syncGrid.Table.TableDirty = true; syncGrid.Table.SummariesDirty = true;

Administrator [Syncfusion]
Replied On January 26, 2005 04:14 PM UTC

Jason, You do also call grid.Refresh() after you made the changes, correct? Otherwise I can''t explain it. If you post a sample I can look into it. Thanks, Stefan

Jason Hales
Replied On January 27, 2005 07:13 AM UTC

Hi Stefan, Yes, I do call refresh. I''ll try to find some time to create a sample app Thanks Jason >Jason, > >You do also call grid.Refresh() after you made the changes, correct? > >Otherwise I can''t explain it. If you post a sample I can look into it. > >Thanks, >Stefan >


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon