When the RowHeight of the Gantt is enabled and the planned tasks are shown, the height of the row in the timeline is miscalculated and that creates displacement.
Additionally, the task dots used for the dependencies are misplaced in the same scenario as demonstrated in the dojo above.
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 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)
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.
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.
I would like to be able to toggle the planned vs actual view on Gantt outside of the Gantt toolbar. This can be achieved using private methods as in the example below and the Dojo linked here:
```
function changeValue(){
var gantt = $('#gantt').data('kendoGantt')
var timeline = gantt.timeline;
var showPlanned = $('#gantt input.k-gantt-planned-switch').data('kendoSwitch').check()
$('#gantt input.k-gantt-planned-switch').data('kendoSwitch').check(!showPlanned)
gantt.wrapper.toggleClass("k-gantt-planned");
timeline._setPlanned(!timeline.options.showPlannedTasks);
timeline._render(gantt.dataSource.taskTree());
timeline._renderDependencies(gantt.dependencies.view());
}
```
However, having a public method for showing the planned tasks (for example showPlannedTasks(true) ) would be very helpful.
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
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
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.
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.
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.
In a Gantt with a custom editor template, an error "Cannot read property 'getTime' of null" is thrown when you try to save a task.
Regression introduced in the latest version, works fine with 2020.2.617.
An error Cannot read property 'getTime' of null is thrown.
No errors should be thrown.
When the tasks in the Gantt's TreeList are moved/dragged an item appears over them. When the visible size of the TreeList is small, dragging tasks inside it results in unavailability to understand which task is currently being dragged because the draggable item is partially hidden.
The draggable item is initialized with a negative "left" CSS style. The task name is partially visible or not visible at all.
The draggable item should be visible. The task name should be visible.
Hi,
In Dojo chose Kendo UI 2020 R1 SP2 library and created a Gantt chart with two summaries and a task. Each summary has a child task.
Set rowHeight to 40px.
Expand Summary1. Summary2 changed position and moved to the top of the row.
Collapse Summary1. Summary2 still at the top of the row.
Also, tried with other libraries, the result is the same.
Noticed that if rowHeight is not set, summary doesn't change its position.
Example here: https://dojo.telerik.com/IriJegeX
Please find the screenshot attached.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Kendo UI Snippet</title>
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2020.1.406/styles/kendo.default-v2.min.css"/>
<script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="https://kendo.cdn.telerik.com/2020.1.406/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2020.1.406/styles/kendo.common.min.css">
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2020.1.406/styles/kendo.rtl.min.css">
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2020.1.406/styles/kendo.default.min.css">
<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2020.1.406/styles/kendo.mobile.all.min.css">
<script src="https://kendo.cdn.telerik.com/2020.1.406/js/angular.min.js"></script>
<script src="https://kendo.cdn.telerik.com/2020.1.406/js/jszip.min.js"></script>
</head>
<body>
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
rowHeight: "40px",
dataSource: [{
id: 1,
orderId: 0,
summary: true,
parentId: null,
title: "Summary1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
},
{
id: 2,
orderId: 0,
parentId: 1,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
},
{
id: 3,
orderId: 1,
summary: true,
parentId: null,
title: "Summary2",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
},
{
id: 4,
orderId: 0,
parentId: 3,
title: "Task2",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
},
{
id: 5,
orderId: 2,
parentId: null,
title: "Task3",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}]
});
</script>
</body>
</html>
Thanks.
Hi there,
In Dojo chose Kendo UI 2020 R1 SP2 library and created a Gantt chart with one milestone and task.
Milestone's time is 9 AM but it does not line up exactly with the time block at the top of the Gantt chart (looks like 9:01 AM).
Also, tried with other libraries, the result is the same.
Example here: https://dojo.telerik.com/iPuzEcaQ
Please find the screenshot attached.
<!DOCTYPE html>
<html>