2.2.6.17.89 GridControl::SetColHeading


Description

Sets the heading of the column.

Syntax

bool SetColHeading( int nCol, LPCSTR lpcsz, bool bExpand = false )

Parameters

nCol
[input] column index, first scrollable column's index is 0
lpcsz
[input] heading text
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 SortCol

Remark

See Also

GridControl::SetColHeader

Header to Included

GridControl.h