ComponentOne VSFlexGrid 8.0
MultiTotals Property

Returns or sets whether subtotals will be displayed in a single row when possible.

Syntax

[form!]VSFlexGrid.MultiTotals[ = {True | False} ]

Remarks

If you set the MultiTotals property to True, then subtotal rows created by the Subtotal method may contain aggregate values for multiple columns. Otherwise, new subtotal rows are created for each aggregate value.

The examples below show the difference:

    fg.MultiTotals = True

    fg.Subtotal flexSTClear

    fg.Subtotal flexSTSum, 1, 2, , vbRed, vbWhite, True

    fg.Subtotal flexSTSum, 1, 3, , vbRed, vbWhite, True

 

    fg.MultiTotals = False

    fg.Subtotal flexSTClear

    fg.Subtotal flexSTSum, 1, 2, , vbRed, vbWhite, True

    fg.Subtotal flexSTSum, 1, 3, , vbRed, vbWhite, True

Data Type

Boolean

Default Value

True

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback