RowOutlineLevel Property

Returns or sets the outline level for a subtotal row.

Syntax

[form!]VSFlexGrid.RowOutlineLevel(Row As Long)[ = value As Integer ]

Remarks

The RowOutlineLevel property is used for two closely related purposes.

1.   When using the grid in outline mode, RowOutlineLevel is used to set the hierarchical level of a node. Nodes with high outline level are children of rows with low outline level. The root node has the lowest outline level. You may change the relationship between nodes by modifying the value of the RowOutlineLevel property. For more details on creating and using outlines, see the Outline Demo.

2.   When using the Subtotal method to create subtotals automatically, RowOutlineLevel stores the number of the column being used for grouping the data. For more details on creating and using automatic subtotals, see the Subtotal method.

The RowOutlineLevel is only used by the control if the IsSubtotal property is set to True.

Data Type

Integer

See Also

VSFlexGrid Control