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
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 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.
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.
Hi Team,
I would like to request an easy, built-in way to format the dateTimePickers with the popup editor for the Kendo UI Gantt. Currently, the validation will not allow for the editor to be set to a specific format without creating a dedicated editable.template.
Thank you!
Hi,
Want the ability to filter on the resource column.
Dojo example.
https://dojo.telerik.com/iZixAfiV
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.
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
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.
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
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