Declined
Last Updated: 05 Jul 2021 14:02 by ADMIN
Bridge24
Created on: 28 Jun 2021 19:47
Category: Kendo UI for jQuery
Type: Bug Report
0
The Gantt loses the selected custom view after calling the setOptions function.

Open this example https://dojo.telerik.com/@lydbell/UcOFiKad.

Run and wait 1 sec.

The selected custom view is lost and the Gantt chart reverts to the weekly view.

 

 

 

1 comment
ADMIN
Martin
Posted on: 05 Jul 2021 14:02

Hello, Daniel,

The name of the custom view should match its type. Otherwise, the Gantt cannot know which view it should set.

kendo.ui.GanttCustomView = kendo.ui.GanttView.extend({
          name: "kendo.ui.GanttCustomView",

Here is the modified example for reference.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.