GanttChartPro is an extended version of GanttChart. It enables tasks to be viewed from a resource (e.g. person, room) perspective, as well as from a task perspective.
GanttChartPro( "startTimestampFieldName" ; "endTimestampFieldName" ; "barLabelFieldName" {; "rowLabelFieldName" ; "rowIDFieldName" ; "colorFieldName" ; "sortFieldName" ; actionOnClick; "filter" } )
Parameters:
| 1 | startFieldName | Name of the field containing the task start date. Can be of type TimeStamp or date and needs to be the full name and enclosed in quotes. |
|---|---|---|
| 2 | endFieldName | Name of the field containing the task end date. Can be of type TimeStamp or date and needs to be the full name and enclosed in quotes. |
| 3 | barLabelFieldName | Name of the field containing the label to be put on the task. Must be of type Text and needs to be the full name and enclosed in quotes. |
| 4 | rowLabelFieldName (opt) |
Name of the field containing the label to be put on the resource. Must be of type Text and needs to be the full name and enclosed in quotes. |
| 5 | rowIDFieldName (opt) |
Name of the field containing the ID of the resource. Needs to be the full name and enclosed in quotes. |
| 6 | colorFieldName (opt) |
Name of the field containing the Color to be used for the task. The field name needs to be the full name and enclosed in quotes. Note that a hex or RGB() value is expected. |
| 7 | sortFieldName (opt) |
Name of the field containing the value by which the data should be sorted. |
| 8 | actionOnClick (opt) |
The name of the script or a command to run on selection of a task. See the notes on Action Parameters below. |
| 9 | filter (opt) |
The name of the field to filter on (fully qualified), then an operator (=, <, >, <=, >=, <>, ~value*), then the filter criteria. The entire parameter is enclosed in quotes. Note: do not put any spaces between the fieldname and the operator. See below. |
With some knowledge of Javascript, you can make a number of customizations. Customization is achieved though the use of an override file, and is covered here.
Sometimes it can be difficult to get the Web Viewer calculation to refresh. For more information about resolving this issue, read here.