GridControl::SetMergeCol

 

Description

Sets whether a column will have its cells merged.

Syntax

bool SetMergeCol( int nCol, BOOL bSet = true, bool bExpand = false )

Parameters

nCol
[input] column index, first scrollable column's index is 0
bSet
[input] true to merge
bExpand
[input] if true it will add columns when there's not enough column

Return

false if nCol is invalid or there's not enough column, otherwise true

Examples

See examples of IsEnable

Remark

See Also

GridControl::SetMergeRow

Header to Included

GridControl.h