Skip to content

Commit 4dabe9f

Browse files
committed
[update] complete inbuilt extra elements guide, minor corrections in api
1 parent b5b2d82 commit 4dabe9f

File tree

6 files changed

+14
-26
lines changed

6 files changed

+14
-26
lines changed

data/api/gantt_adjusttaskheightforbaselines.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ Typically, there is no need to call this method directly. It is necessary only w
2121
api/gantt_baselines_config.md
2222

2323
@relatedsample:
24-
04_customization/15_baselines.html
24+
04_customization/15_baselines.html
25+
26+
@changelog: added in v9.0

data/api/gantt_gettaskbaselines.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ getTaskBaselines
22
=============
33

44

5-
@short: returns the array of baselines of a specific task from the datastore
5+
@short: returns an array of baselines of a specific task from the datastore
66

77

88
@params:
@@ -20,7 +20,7 @@ gantt.getTaskBaselines(5); // -> see details
2020
@descr:
2121
{{pronote This functionality is available in the PRO edition only.}}
2222

23-
{{note The **getTaskBaselines** method is not available if api/gantt_baselines_config.md is disabled.}}
23+
{{note The **getTaskBaselines** method is not available if the api/gantt_baselines_config.md config is disabled.}}
2424

2525
The method returns an array with objects as in:
2626

@@ -43,11 +43,10 @@ The method returns an array with objects as in:
4343
]
4444
~~~
4545

46+
4647

47-
@relatedapi:
4848

49-
50-
@related: desktop/resource_baselines.md
49+
@related: desktop/inbuilt_baselines.md
5150

5251
@relatedsample: 04_customization/15_baselines.html
5352

data/api/gantt_onbeforeselect_event.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

data/api/refs/gantt.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Gantt API
1616
- api/gantt_addtask.md - adds a new task
1717
- api/gantt_addtasklayer.md - displays an additional layer with custom elements for a task in the timeline area
1818
- api/gantt_adjusttaskheightforbaselines.md - adjusts the task's row height for proper display of baseline elements
19-
- api/gantt_adjusttaskheightforbaselines.md - adjusts the task's row height for proper display of baseline elements
2019
- api/gantt_alert.md - calls an alert message box
2120
- api/gantt_assert.md - if the specified expression is false, an errorMessage is shown in the red popup at the top right corner of the screen
2221
- api/gantt_attachevent.md - attaches the handler to an inner event of dhtmlxGantt
@@ -115,7 +114,7 @@ Gantt API
115114
- api/gantt_gettask.md - returns the task object
116115
- api/gantt_gettaskassignments.md - returns the parsed resource assignments of a specific task from the datastore
117116
- api/gantt_gettaskbarheight.md - returns the height (in pixels) of the DOM element of the task
118-
- api/gantt_gettaskbaselines.md - returns the array of baselines of a specific task from the datastore
117+
- api/gantt_gettaskbaselines.md - returns an array of baselines of a specific task from the datastore
119118
- api/gantt_gettaskby.md - finds a task by the specified criteria
120119
- api/gantt_gettaskbyindex.md - returns a task by its global task index
121120
- api/gantt_gettaskbytime.md - returns a collection of tasks which occur during the specified period

data/api/refs/gantt_methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Methods
110110
- api/gantt_gettask.md - returns the task object
111111
- api/gantt_gettaskassignments.md - returns the parsed resource assignments of a specific task from the datastore
112112
- api/gantt_gettaskbarheight.md - returns the height (in pixels) of the DOM element of the task
113-
- api/gantt_gettaskbaselines.md - returns the array of baselines of a specific task from the datastore
113+
- api/gantt_gettaskbaselines.md - returns an array of baselines of a specific task from the datastore
114114
- api/gantt_gettaskby.md - finds a task by the specified criteria
115115
- api/gantt_gettaskbyindex.md - returns a task by its global task index
116116
- api/gantt_gettaskbytime.md - returns a collection of tasks which occur during the specified period

data/desktop/inbuilt_baselines.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ After that you can customize the display of deadlines by [creating a custom dead
238238
The **gantt.config.deadlines** config enables or disables the display of deadline elements for tasks. If enabled, Gantt will check the **task.deadline** property,
239239
and if it contains a valid date, the deadline element will be displayed in the timeline.
240240

241+
### Task constraints
241242

243+
When [auto scheduling](desktop/auto_scheduling.md) is enabled and works in the Constraint mode (api/gantt_auto_scheduling_compatibility_config.md is set to *false*),
244+
Gantt will automatically display constraint dates in the chart.
245+
246+
{{sample 02_extensions/19_constraints_scheduling.html}}
242247

243248

0 commit comments

Comments
 (0)