SetColumnType (GridData) *

Introduced

4.0

Description

Specifies a type of control to use for a particular column. This method is optional because the default column type, siColumnStandard, is suitable for strings, numbers and most other data.

Scripting Syntax

GridData.SetColumnType( ColumnIndex, Type )

C# Syntax

GridData.SetColumnType( Int32 in_ColumnIndex, siGridWidgetColumnType in_Type );

Parameters

Parameter

Type

Description

ColumnIndex

Long

Index of the Column. The left-most column has index 0.

Type

siGridWidgetColumnType

Type of the Column

See Also

GridData.GetColumnType

GridData.SetColumnComboItems

Examples

• See GridData.SetColumnType.1.js



Autodesk Softimage 2011