The VSFlexGrid control has methods and properties that allow you to summarize data and display it in a hierarchical manner. To summarize data, use the Subtotal method. To display hierarchical views of the data, use the OutlineBar and OutlineCol properties.