TableBoxColumns.Insert

Syntax:

Insert(<Index>, <HeaderText>)

Parameters:

<Index> (required)

Type: Number.
Index of the column being inserted. If the index is equal to the number of columns, then the column is added to the end of the collection.

<HeaderText> (optional)

Type: String.
Text which will appear in the table box column title.

Returned value:

Type: TableBoxColumn.
Table box column being inserted.

Description:

Inserts a column into an indicated position of the table box column collection.

Availability:

Thick client.

Example:

Controls.TableBox.Columns.Insert(0, "Name");

    

1C:Enterprise Developer's Community