insertAfterColumn method



Inserts a column into the Scheduler at a specified location.

Syntax

Column = Scheduler.insertAfterColumn(Column, sField)

Applies to

Scheduler object.

Parameters

Column
Column. The column after which this method inserts a column of the type specified by sField.
sField
String. The kind of data that this column will hold. Must be one of: One of: "startDate", "endDate", "taskName", "duration", "notes", "url", "resourceName", "percentComplete", or the name of a field created by the createField() method.

Return value

Column. The Column value references the Column object that this method inserts.

Usage

This method inserts a column of the type specified by sField after the column specified by Column.

Note: You can insert only one column of any given sField type into the same schedule. You cannot, for example, insert more than one "duration" column into the same schedule.

See also

insertBeforeTask method