You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **getTask** method expects a task with a required "id" is loaded into Gantt. Therefore, if no task with this "id" is found, the method will produce an error message: "Task not found id = ID".
Copy file name to clipboardExpand all lines: docs/faq.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@ title: "FAQ"
3
3
sidebar_label: "FAQ"
4
4
---
5
5
6
-
FAQ
7
-
==============
6
+
# FAQ
7
+
8
+
9
+
## How to open samples
8
10
9
-
How to open samples
10
-
---------------------
11
11
12
12
The distributive of the component includes a demo backend app that can be used to run samples locally.
13
13
The app requires [Node.js](https://nodejs.org/en/) and uses in-memory storage for demos which supposed to store data on the backend (i.e. no database setup is needed).
@@ -58,8 +58,8 @@ When you open an example from a web server, the URL will look like this (*http:/
If the Gantt chart wasn't rendered on the page properly, please, check a CSS style for the chart's container - it must have a valid size in pixels or percents.
65
65
@@ -77,8 +77,8 @@ html, body{
77
77
~~~
78
78
79
79
80
-
The Gantt chart isn't rendered in Internet Explorer correctly
## The Gantt chart isn't rendered in Internet Explorer correctly
81
+
82
82
83
83
If the Gantt chart wasn't rendered on the page properly only in the Internet Explorer browser, please, make sure that your page uses a full DOCTYPE declaration.
84
84
dhtmlxGantt can work correctly in the standard modes of IE6, IE7 and IE8 but isn't purposed to be used with the quirks modes of IE.
Read the [Troubleshooting Backend Integration Issues](guides/troubleshooting.md) article that gives instructions on how to identify the reasons of the problems.
121
121
122
-
How to include the last day of the task into the duration
## How to include the last day of the task into the duration
123
+
124
124
125
125
You may notice, that when the date is specified in days without an hour-minute part and the start and end dates are the same, the duration of the task will be calculated as 0 days not 1 day.
By default, the last day of the task is excluded from the duration of the task but there is the ability to change the default behavior and include the last day into the duration. For more details, check the [Task end date display & Inclusive end dates](guides/loading.md#taskenddatedisplayampinclusiveenddates) article.
148
148
149
-
Cyclic reference error
150
-
-----------------------
149
+
## Cyclic reference error
150
+
151
151
152
152
If you pass incorrect data to the Gantt, its tree-like structure becomes cyclic which causes the cyclic reference error.
153
153
@@ -167,8 +167,8 @@ Task #2 cannot be a parent for itself.
167
167
168
168
"Task #4" is specified as a parent for "Task #1". But at the same time "Task #4" is also a child of "Task #1".
169
169
170
-
Evaluation period has expired
171
-
------------------------------
170
+
## Evaluation period has expired
171
+
172
172
173
173
If you have installed a licensed PRO version of the Gantt chart but still see the messages that the evaluation period has expired, it means that there is the Trial version somewhere in your application. Only the trial version has the functionality to show the popup message about the expired trial period.
Copy file name to clipboardExpand all lines: docs/guides/advanced-dnd.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@ title: "Creating/Selecting Tasks with DnD"
3
3
sidebar_label: "Creating/Selecting Tasks with DnD"
4
4
---
5
5
6
-
Creating/Selecting Tasks with DnD
7
-
======================================
6
+
# Creating/Selecting Tasks with DnD
7
+
8
8
9
9
dhtmlxGantt library provides an extension that includes advanced drag-n-drop functionality while working with tasks in the timeline.
10
10
@@ -87,8 +87,8 @@ Note that the event handlers can be added just for an existing element. Thus you
87
87
the elements won't have been created yet.
88
88
:::
89
89
90
-
Creating tasks with drag-n-drop
91
-
---------------------------
90
+
## Creating tasks with drag-n-drop
91
+
92
92
93
93
You can create tasks with drag-n-drop right on the timeline by clicking in an empty place to set the start date of a task and dragging to the right to set its duration.
94
94
@@ -122,13 +122,13 @@ function onDragEnd(startPoint,endPoint,startDate,endDate,tasksBetweenDates,tasks
122
122
[Create new tasks by Drag and Drop](https://docs.dhtmlx.com/gantt/samples/02_extensions/24_click_drag.html)
123
123
124
124
125
-
Setting time for unscheduled tasks
126
-
------------------------
125
+
## Setting time for unscheduled tasks
126
+
127
127
128
128
The **click_drag** extension allows setting time for [unscheduled tasks](guides/unscheduled-tasks.md) with drag-n-drop.
129
129
130
-
Selecting tasks with drag-n-drop
131
-
-------------------------------
130
+
## Selecting tasks with drag-n-drop
131
+
132
132
133
133
It is possible to select tasks with drag-n-drop in several modes: in dates, rows, or in bounds.
134
134
@@ -176,8 +176,8 @@ function onDragEnd(startPoint,endPoint,startDate,endDate,tasksBetweenDates,tasks
176
176
[Select multiple tasks by Drag and Drop](https://docs.dhtmlx.com/gantt/samples/02_extensions/25_click_drag_select_by_drag.html)
177
177
178
178
179
-
Creating parts of split tasks
180
-
-------------------------
179
+
## Creating parts of split tasks
180
+
181
181
:::info
182
182
This functionality is available in the PRO Edition only.
0 commit comments