GanttChartPro is a complete overhaul of the GanttChartLite. It enables tasks to be viewed from a resource (e.g. person, room) perspective, as well as from a task perspective.
| Parameter Name | Description | |
|---|---|---|
| 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. |
GanttChartPro(
// Fields
"Tasks_Interface to Tasks for all::Timestamp Start" ;
"Tasks_Interface to Tasks for all::Timestamp End" ;
"Tasks_Interface to Tasks for all::Name" ;
"Tasks_Interface to Tasks for all::Person Name" ;
"Tasks_Interface to Tasks for all::Person ID" ;
"Tasks_Interface to Tasks for all::Colour Hex" ;
"Tasks_Interface to Tasks for all::Sort" ;
)
The GanttChartPro uses the Override Manager and Override Helper for JavaScript, and CSS overrides.
By using overrides, you can modify the functionality and looks of the GanttChartPro. Take a look at the override manager for details on the overrides available.
Comments