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.

Problem Changing SummaryType in SummaryRows

Thread ID:

Created:

Updated:

Platform:

Replies:

23987 Jan 26,2005 08:36 AM Jan 27,2005 02:13 AM Windows Forms 3
loading
Tags: Grouping
Jason Hales
Asked On January 26, 2005 08:36 AM

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 08:55 AM

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

Administrator [Syncfusion]
Replied On January 26, 2005 11:14 AM

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 02:13 AM

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 >

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.

;