findColumnByField method



Returns the column of a specified field, or null if this column is not visible.

Syntax

Column = Scheduler.findColumnByField(sField)

Applies to

Scheduler object.

Parameters

sField
String. Points to a String object that specifies the type of the column that this method returns. 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 whose data field is specified by sField, if this column is visible. Otherwise, the return value is null.

Usage

This method returns the column of the data field sField, or null if this column is not visible.

See also

createField method
findColumn method
findSelectedColumn method