ValueTreeColumnCollection.Insert
Syntax:
Parameters:
<Index> (required)
Index in a collection of columns where a column needs to be inserted.
<Name> (optional)
Column name.
Default value: Empty string.
<Type> (optional)
Object describing value types available for a column. If the parameter is not specified, a value of any type can be stored in the column.
<Title> (optional)
Column heading. Used for visual presentation of the value tree.
Default value: Empty string.
<Width> (optional)
Column width in characters. Used for visual presentation of the value tree.
Default value: 0.
Returned value:
Inserted column.
Description:
Availability:
Example:
TypesArray = New Array; TypesArray.Add(Type("Number")); QN = New NumberQualifiers(10,3); NumericDescription = New TypeDescription(TypesArray,QN); ContentColumns = ContentTree.Columns; ContentColumns.Insert(2, "Quantity", NumericDescription, "Q-ty", 14); |