Virtual Merge Cell Demo

This sample demonstrates dynamic(on the fly) merging of cells. It uses the derived classes, GridControl and GridModel to handle this task. For more static(predefined) merge cells, you have to set the properties as shown.

				GridStyleInfo standardStyle = BaseStylesMap["Standard"].StyleInfo;
				standardStyle.MergeCell = GridMergeCellDirection.RowsInColumn;
				GridStyleInfo rowHeaderStyle = BaseStylesMap["Row Header"].StyleInfo;
				rowHeaderStyle.MergeCell = GridMergeCellDirection.RowsInColumn;

We derive a class from a base class for overriding the existing methods of the base class to implement dynamic merging.

Features

VirtualMergeCell screenshot