ComponentOne VSFlexGrid 8.0
IsSubtotal Property

Returns or sets whether a row contains subtotals (as opposed to data).

Syntax

[form!]VSFlexGrid.IsSubtotal(Row As Long)[ = {True | False} ]

Remarks

This property allows you to determine whether a given row is a regular row or a subtotal row, or to create subtotal rows manually (as opposed to using the Subtotal method).

There are two differences between subtotal rows and regular rows:

1.   Subtotal rows may be added and removed automatically with the Subtotal method.

2.   When using the control as an outliner, subtotal rows behave as outline nodes, while regular rows behave as branches.

You may use this property to build custom outlines. This requires three steps:

1.   Set the IsSubtotal property to True for all outline nodes.

2.   Set the RowOutlineLevel property for each outline node.

3.   Set the OutlineBar and OutlineCol properties if you want to display an outline tree, which the user can use to collapse and expand the outline.

For more details, see the Outline Demo.

Data Type

Boolean

 

 


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

Product Support Forum  |  Documentation Feedback