When the duration of a task is edited in the Task Duration column in Gantt in the save event handler e.task.taskDuration returns the new duration value. With versions, before 2020 R3, the old task duration value has been returned.
With the current version, the new task duration is returned.
The returned e.task.taskDuration should return the previous task duration in order to be consistent with the behavior before 2020 R3
When the end date of a task is edited in the End Time column in Gantt in the save event handler e.task.end returns the new end date value. With versions, before 2020 R3, the old end task value has been returned.
The behavior is inconsistent with editing a task through dragging or by double-clicking on a task as in such case the previous value of the end task will be returned
With the current version, the new end date is returned.
The returned e.task.end should be consistent with the other ways of changing the date e.g. dragging or double-clicking on the task.
With e.preventDefault in the save event of the Gantt, the TreeList becomes unresponsive when blurring a task field.
The parent task collapses and becomes unresponsive
The parent task should not collapse and become unresponsive
When a value in the TreeList nested in the Gantt is edited and is initially selected using the mouse, the save event is fired, but the e.values is undefined. Also, the value is changed back to the initial one.
The Edit and Save events are fired. The value of the e.values in the save events is undefined. The value of the cell is changed back to the initial one.
When the value of the cell is not marked initially with the mouse, but the user starts typing immediately after clicking in the cell the issue is not replicated. Also, only the Save event is fired and the new value is present in e.values
Note: The issue might be related to the following behavior in the TreeList: When the steps described above are followed in the TreeList - the save event is fired, but actually the edited mode is not exited - Dojo
The behavior should be consistent. The same events should be fired in case the edited mode is exited by pressing 'Enter' and by clicking in another cell and e.values should contain the updated value.
The menu that determines where to add new task incorrectly appears after creating a new task and editing an existing one.
The Add Child/Above/Below menu appears unexpectedly.
The menu should not appear and a new task should be added at the bottom of the list.
When tasks are reordered in Gantt duplicated requests are sent for updating.
For example, in case two tasks on the same level are changing their places, four requests are sent, two by two the requests are the same.
In case a task is moved on a different level multiple requests are sent, as all are duplicated.
There should be no duplicated requests when reordering tasks in Gantt
This is a regression introduced with R3 2020 (2020.3.915)
If a date is configured in Gantt by using the date method or views.date configuration and then a task is edited, the Gantt displays the initial date after editing a task.
After the task is edited the horizontal scroll position is set to its initial position, not to a position according to the edited task. Thus, the user needs to scroll again in order to find the edited task.
The behavior is not the same when the date method/configuration is not used. Also, the behavior is not the same if we first switch between the 'Day', 'Week', 'Month' views before editing a task.
Even if the initial date of the Gantt is configured, when the user edits a task, the date should not be persisted. The horizontal scroll should be in the same position as before editing a task.
When the validation message appears that the Start Date should be before the End Date, picking a proper End Date does not automatically remove the validation message in the Gantt.
Workaround: call the validate method in the change event of the End DatePicker.
https://dojo.telerik.com/@martin.tabakov@progress.com/IQiRukIN/11
The validation message remains and the user must again focus and blur the Start Date picker for the message to disappear.
The validation should be removed automatically after picking a EndDate that is after the StartDate.
When there are tasks with duration only in non-working days and showWorkDays is enabled Gantt displays unnecessary arrows for those tasks.
A similar issue appears also in case there are tasks with resources. In case the task's duration is only on non-working days the text of the resource still appears although showWorkDays is enabled.
When showWorkDays is enabled, the tasks with duration only in non-working days are not visible. However, unnecessary arrows for dependency tasks and text of the resources are displayed.
When showing only working days is enabled there should be no arrows for the tasks with dependencies and no resources text on non-working days
Hi folks,
I am using the Gantt control and somtimes, I correctly do not have any data to show in it.
In this case, in the left-side of the Gantt (which is technically a Grid), the message "No records to display" is shown.
Since I am using Kendo with kendo.culture('de-CH') (Swiss German) and also the Swiss German messages, I would expect the message to be translated there as well.
Especially, when I am looking into the messages-file (https://kendo.cdn.telerik.com/2021.1.330/js/messages/kendo.messages.de-CH.min.js) and it does in fact contain the translation for the Grid's noRecords. And it's also there in the JavaScript code when having the Swiss German culture loaded:
console.log(kendo.ui.Grid.prototype.options.messages.noRecords);
Could you please have a look at this and make the Gantt component respect the translations?
For better illustration, I have prepared the following Dojo, that uses Swiss German culture and displays an empty Gantt chart: https://dojo.telerik.com/iXuKeYaZ
As I ran into this problem while using Telerik for ASP.NET Core, I am looking forward to a solution that that works there too.
Thanks in advance!
Kind regards,
Janick
Hi,
I use a Gantt chart like this one.
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2021/6/1"),
end: new Date("2021/6/3")
}],
range: {
start: new Date("2021/05/31"),
end: new Date("2021/12/01")
},
views: ["month"]
});
In the example, the Gantt chart starts on May 31, 2021.
In the first header line we see the month of May, followed by July. There is no month of June.
https://dojo.telerik.com/@lydbell/ULAPUdOV
This only happens when the last day of the month is Monday .
If you select a custom view in the Gantt and shrink the window so that a DropDownList would appear, the custom view does not appear as selected in the DropDownList.
Quaterly custom view is not displayed as the selected value of the DropDownList
Quaterly custom view should be displayed as the selected value of the DropDownList
Team,
Dojo ref : https://dojo.telerik.com/@Aswathi/uXoJoSUq
When I edit the calendar value and click on any other row/cell it doesn't get saved. If I click outside it gets saved. I see it's due the property
.
If we set it editable:true , it's breaking the reorder functionality.
Is there a way to fix this ?
Appreciate your support.
Regards,
Sujith
When planned tasks are displayed and rowHeight is set to the Gantt, the dependency lines are displayed incorrectly
Dependency lines are misplaced
The dependency lines should be rendered on the correct position
Set the padding-top to '.k-task-wrap' elements
Dojo
Reproducible in the Columns demo: https://demos.telerik.com/kendo-ui/gantt/columns
The parent's percent complete is also set to 100%. This is incorrect, since the other children of parent are not removed from the dataSource, they are just visually filtered. The problem becomes more evident, if the filter is cleared. Then the parent keeps its 100% value, even though it contains child tasks with percentComplete less than 100%.
The parent task percent complete should be consistent to the behavior without filtering applied. Using the same example, this means: on updating "Market" to 100%, Research should change its percentComplete to 49%, taking into account all of its children percentComplete values.
If we define a column template for a field that is defined in the resources configuration fo the Gantt, the template is not applied to it
The custom template is applied only to the "title" field
The user should be able to define a custom template for the "resources" fields
If the Gantt is navigatable and editable.reorder is set to false when the user tries to navigate and press Enter on a cell an error is thrown
Regression since: 2020.3.915
The following error is thrown in the console: r.list._startEditHandler is not a function
There should be no error in the console.
Regression introduced in R3 2020.
Reproducible in the demos. Video attached.
Recording47.zip
A js exception is thrown:
kendo.all.js:126843 Uncaught TypeError: Cannot read property 'orderId' of null
No exceptions are thrown.
When dragging and dropping tasks in Gantt (TreeList) the save event is not always fired.
That is a regression introduced with R3 2020 release.
When dragging and the icon of the dragged item is a '+' the save event is not fired. (screencast)
Save event should be fired when reordering tasks through drag and drop.