VSFlexGrid Tutorials

The following sections contain tutorials that illustrate some of the main features in the VSFlexGrid control. The tutorials walk you through the creation of several simple projects, describing each step in detail. After walking through the tutorials, you should be able to start programming the VSFlexGrid grid on your own.

The following sections contain the following tutorials:

Edit Demo

Starting with a basic data-entry grid, this tutorial shows how to implement data formatting, check boxes, drop-down lists, input masks, data validation, and clipboard support.

Outline Demo

Shows how you can use the VSFlexGrid as an outliner to display structured (or hierarchical) data.

Data Analysis Demo

Starting with a grid containing sales data for different products, regions, and salespeople, this tutorial show how to implement dynamic layout (column order), automatic sorting, cell merging, automatic subtotals, and outlining.

Cell Flooding Demo

This tutorial shows how to use the Cell property to format individual cells. The demo uses flooding to create a display combining numbers and bars.

ToolTip Demo

This tutorial shows how you can implement ToolTips with different text for each cell.

Printing Demo

This tutorial shows how you can print a grid with control over page breaks "header" rows which appear at the top of every page.

OLE Drag and Drop Demo

This tutorial shows how to implement automatic and manual OLE drag and drop.

Visual C++ MFC Demo

This tutorial contains another version of the Outline Demo written in Visual C++ using the MFC application framework.

For more sophisticated samples that can be used as a reference, see the VSFlexGrid samples located on the HelpCentral Samples Page.


Edit Demo

Outline Demo

Data Analysis Demo

Cell Flooding Demo

ToolTip Demo

Printing Demo

OLE Drag and Drop Demo

Visual C++ MFC Demo