<task> node
Description
Describes a single task.
Attributes
Attribute Name | Description | Type | Possible Values | Default Value |
---|---|---|---|---|
id | A unique identificator for a task of a string type. AnyGantt demands it's value not to be blank. If any two identificators have the same name error message is shown. | String | n/a | n/a |
name | The name of a task. | String | n/a | n/a |
parent | Identificator of a parent task. If the value of parent attribute is blank, this task is located on the root level. This attribute is alternate to the level attribute and can not be used along with it within the same project. In one project you use either level, either parent attribute. |
String | n/a | "" |
progress | The percent of completeness of the task, can not be less than 0 and more than 100. | Numeric | 0..100 | 0 |
actual_start | The date of task's actual start. If this attribute and at least one of the valid intervals in <actual> node are absent at the same time, the task is ignored. If actual_end attribute isn't set in the node, the task automatically becomes a milestone Uses <full> parser, that is located in <locale> node. If node <actual> is set at at least one valid <interval> exists, values of actual_start and actual_end attributes are ignored and recounted automatically, using values of date from the intervals. |
DateTime | n/a | n/a |
actual_end | The date of task's actual end. Uses <full> parser, that is located in <locale> node. If node <actual> is set at at least one valid <interval> exists, values of actual_start and actual_end attributes are ignored and recounted automatically, using values of date from the intervals. |
DateTime | n/a | n/a |
baseline_start | The date of task start according to the base plan. If attribute is set, baseline is displayed on the plot under the task line according to actual plan. If in the node baseline_end attribute is not set task becomes a milestone. Uses <full> parser, that is located in <locale> node. If node <baseline> is set at at least one valid <interval> exists, values of baseline_start and baseline_end attributes are ignored and recounted automatically, using values of date from the intervals. |
DateTime | n/a | n/a |
baseline_end | The date of task end according to the base plan. If attribute is set, baseline is displayed on the plot under the task line according to actual plan. Uses <full> parser, that is located in <locale> node. If node <baseline> is set at at least one valid <interval> exists, values of baseline_start and baseline_end attributes are ignored and recounted automatically, using values of date from the intervals. |
DateTime | n/a | n/a |
style | Task style identificator from the styles list, if there is no corresponding style in the style list style is set by default If the root node contains <style> subnode, the attribute is ignored. |
String | n/a | n/a |
level | Determines the level of task's nesting. If level is more than 0, a previous task with a lesser level becomes a parent task. If level is 0, the current task will be contained on the root level. This attribute is alternative to the parent attribute and can not be used simultaneously with it in the same project. In the same project you can use either level, either parent attribute. |
Integer | n/a | 0 |
expanded | Sets whether children tasks are shown at start-up or no. | Boolean | True False |
True |
selected | Sets whether task is selected at start-up or no | Boolean | True False |
False |
allow_edit | Allow to edit task at client-side | Boolean | True False |
N/A |