SetColumnComboItems (GridData) *

Introduced

4.0

Description

Sets the combo items associated with a column of type siColumnCombo. The items are specified in a 1-dimensional array, with a label string and associated integer value for each combo item. For example the array ("A", 0, "B", 12) specifies two items for the combo box, one with label "A" and value 0 and the other with label "B" and value 12.

Scripting Syntax

GridData.SetColumnComboItems( ColumnIndex, Items )

C# Syntax

GridData.SetColumnComboItems( Int32 in_ColumnIndex, Object in_Items );

Parameters

Parameter

Type

Description

ColumnIndex

Long

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

Items

1-dimensional Array

An array containing the label/value pairs

See Also

GridData.SetColumnType



Autodesk Softimage v7.5