MergeCells Property

In a Grid Control, turns on or off an option to display only one occurrence of a repeating cell value in a column. For example, in a query that displays orders for each customer, the customer ID and name appear once, centered vertically, next to the rows that contain the associated orders.

Syntax

object.MergeCells [= Boolean]

Parameters

The MergeCells property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Boolean

Whether to display one occurrance of repeating cell values in a column or display all occurrences.

Settings

The settings for Boolean are:

Value

Description

True

Display one occurrance of repeating cell values in a column, centered vertically.

False

Fills each grid cell with data. (Default)

See Also