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

Summary (Totalling)

Thread ID:

Created:

Updated:

Platform:

Replies:

22253 Dec 8,2004 03:18 AM UTC Dec 8,2004 08:00 PM UTC WinForms 2
loading
Tags: Grouping
Bernard Herrok
Asked On December 8, 2004 03:18 AM UTC

Hi, I''m trying to add a summary row in my grid. But it doesn''t seem to work out the totals. If i change the format to Average, Minimum, Maximum or Count, it works properly. But not with totals. It sometimes show "1200 Records" or however many records i''ve got on the dataset. Is something wrong with the code bellow? sd0.Name = "2002/2003_Total" sd0.DataMember = "2002/2003_Total" sd0.DisplayColumn = "2002/2003_Total" sd0.Format = "{Total}" sd0.SummaryType = SummaryType.DoubleAggregate Dim grd As GridSummaryRowDescriptor = New GridSummaryRowDescriptor("SummaryRow", "Total", sd0) MarketingDG.TableDescriptor.SummaryRows.Add(grd) Thanks, Bernard Herrok

Administrator [Syncfusion]
Replied On December 8, 2004 07:26 AM UTC

Instead of {Total}, try using {Sum}. sd0.Format = "{Sum}"

Bernard Herrok
Replied On December 8, 2004 08:00 PM UTC

Please have a look at the attached image. Looks like there''s a margin set for the summary row title. Because depending how low you go in the levels, the title get cut. How do I get it to display the full title? Thanks, summary row_7092.zip

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

;