Multiple Views Demo

This sample shows you how easy it is to share data among grids. In this way, it is straight forward to support multiple view implementations that are similar to the MFC’s Doc/View architecture. In this sample, changes that are made to one grid immediately appear in the other.

Features

When you have split views of a grid, the same data is accessed by all views, as all views share the same GridModel object. The GridModel object holds all the data that is associated with a grid. As a result, changes that are made to any one of the views are immediately reflected in all the other views that share this GridModel object.

The following screenshot illustrates this clearly.

Multiple Views screenshot

Interactive Features

    		gridControl2.Model = gridControl1.Model;