GridControl::SetColComboList

 

Contents

Description

Sets the drop-down list to given column

Syntax

void SetColComboList( long Col, string strCombo )

Parameters

Col
[input] 0-offset column index
strCombo
[input] empty string or "..." to display a button; a string separated by "|" to display a drop-down list;
string format "#number;text|#number;text|.." allow you to map numeric values to string entries,
i.e. you may retrieve the number using the GetCell(flexcpText), while retrieve the associated text using the GetCell(flexcpTextDisplay)

Return

Examples

See examples of SetCellComboList

Remark

See Also

GridControl::SetCellComboList

header to Included

GridControl.h