GridControl::GetColDataType

 

Description

Returns the data type for the column.

Syntax

int GetColDataType( long Col )

Parameters

Col
[input] 0-offset column index

Return

given column's data type defined in DataTypeSettings

Examples

Example codes can be pasted to doExample() function in GridControl's examples to run

 out_int("previous datatype is ",m_GridCtrl.GetColDataType(0));
        m_GridCtrl.SetColDataType(0, flexDTBoolean);        
        out_int("now datatype is ",m_GridCtrl.GetColDataType(0));
        Invalidate();//refresh

Remark

See Also

GridControl::SetColDataType

header to Included

GridControl.h