Telerik Forums
Kendo UI for jQuery Forum
2 answers
117 views

Hello,

 

after upgrading my Gantt chart to release 2020 R3 SP1 I noticed a significant performance drop in the chart to the point of it not being snappy enough to give to end users. I have made a simple repro at https://dojo.telerik.com/OjOCEjIm/4 (I hope this links to my custom edit, if not the code is down below to copy paste into a Dojo window). It is a simple Gantt chart where I add 50 summary tasks and 50 child tasks for those. 

 

When running the chart in the dojo under 2020 R2 SP1 the chart loads fast and clicking open a summary task has an almost imperceptible delay. But when switching to 2020 R3 or R3 SP1 releases from the dropdown in the top left, the same chart takes multiple seconds to load and opening of a summary task takes about 1-2 seconds.

 

I'm in a situation where the data to be displayed in the Gantt sometimes is in the order of 35-50*35-50 tasks. Are there any performance hints I might employ to make the R3 release usable as I would like to use for example the columnMenu option that I believe is only available in R3? Also any and all performance hints are welcome.

 

If the link up doesn't link to the custom Dojo, here is the code to copypaste:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>Kendo UI Snippet</title>
 
    
 
    <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
</head>
<body>
   
    <div id="gantt"></div>
    <script type="text/javascript">
      var gantt;
 
      $(function StartingPoint() {
    var ganttDatasource;
 
      this.ganttDatasource = new kendo.data.GanttDataSource();
         
        gantt = new kendo.ui.Gantt($("#gantt"),
                                   $.extend({
          columns: [
            { field: "id", title: "ID", sortable: true, editable: false, width: 70 },
            { field: "title", title: "Title", sortable: true, editable: true, width: 100 },
            { field: "start", title: "Start", sortable: true, editable: true, format: "{0:MM/dd/yyyy HH:mm}", width: 100 },
            { field: "end", title: "End", sortable: true, editable: true, format: "{0:MM/dd/yyyy HH:mm}", width: 100 }
            
          ],
          views: [
            "year"
          ],
          listWidth: 300,
          height:800,
          dataSource: this.ganttDatasource
        }, {}));
 
let tasks=[];
         
    // random tasks
     
        for (p=1;p<50;p++) {
                tasks.push({id:"p"+p,parentId:null,  title:"task", start:new Date(2020, p+1, 1),end:new Date(2020, p+2, 1), summary:true});
 
                for (var t=0;t<50;t++) {       
      tasks.push({id:"p"+p+"t"+t,parentId:"p"+p,  title:"task", start:new Date(2020, t+1, 1),end:new Date(2020, t+2, 1)});
       
       
        }
    }
 
        this.ganttDatasource.data(tasks);
 
        gantt.refresh();
    });
    </script>
</body>
</html>
Rami
Top achievements
Rank 1
Veteran
 answered on 04 Nov 2020
2 answers
105 views

Hi. I want to disable the 'filter by condition' subsection of the range filters (leaving only the 'filter by value' subsection).

Is there a way to do this?

Thanks.

 

Callam
Top achievements
Rank 1
Veteran
 answered on 03 Nov 2020
6 answers
1.1K+ views
Currently the multiselect widget gets wrapped in a div, causing it to move to a newline. Other similar widgets like the dropdownlist do not. Is there a way I can make the multiselect widget not move to a newline?

I tried setting the display to be 'inline-block', but then it shifted the multiselect to be 'hovering' above the available data.

http://imgur.com/GiQURfS
Stoyan
Telerik team
 answered on 02 Nov 2020
2 answers
63 views

Hello,

to me it seems the 2020 R3 update breaks a little on (some) custom views. I have a custom view adopted from your documentation at https://docs.telerik.com/kendo-ui/controls/scheduling/gantt/how-to/creating-custom-view. If I open this in the Dojo, the tasks don't line up with the table (see attached file). If I change back to 2020 R2 SP1 release from the dropdown at the top left (and cleanup the stylesheet reference), the tasks once again lineup with the table.

 

Also the line this.list.header.find("tr").height(height + "em"); that seems to be used to adjust the tasks <> tables gives an error of Uncaught TypeError: Cannot read property 'header' of undefined when I update to the latest release and am running the Gantt in a node.js app. Where can I do the adjusting in a custom view when I update to the latest release?

 

Rami
Top achievements
Rank 1
Veteran
 answered on 30 Oct 2020
1 answer
108 views

Hi team

I have a requirement where i need to bind grid as control select column value while adding new record. Is there any such feature in kendo ui jQuery grid?

please find the attachment for reference

Georgi Denchev
Telerik team
 answered on 29 Oct 2020
3 answers
359 views

Hi,

I updated my project to Kendo UI for jQuery 2020.3.1021 but then all grids stop working on mobile or tablet devices. When downgrading to 2020.3.930 grid works fine.

I have tested on iPad,iPad Pro, Samsung S10.

 

Easiest way to reproduce the error is to open the demo page here: https://demos.telerik.com/kendo-ui/grid/index in Chrome on a pc and emulate an iPad for ex. Or load that

In the browser console you can see the javascript error: "Cannot read property 'rows' of null".

 

 

Douglas
Top achievements
Rank 1
Iron
 answered on 29 Oct 2020
1 answer
125 views

Hello!

I want to display initial list of files, but I don't want to use 'async' mode.

As I see in the docs, this feature works well in async mode https://docs.telerik.com/kendo-ui/api/javascript/ui/upload/configuration/files

But it doesn't work without 'async' setting https://dojo.telerik.com/UVOmAtIM

Is it bug or not?

Thanks!

Bill
Top achievements
Rank 1
 answered on 29 Oct 2020
2 answers
322 views

Hi Admin, I would like to use the dplProcessing for Kendo PDF Viewer, and the requirements there mentioned Telerik.Web.PDF is needed. But i can't find it even I download the latest trial pack. May I know where can I get it?

Reference: https://docs.telerik.com/kendo-ui/controls/PDF/PDFViewer/dpl-processing

Syan
Top achievements
Rank 1
 answered on 29 Oct 2020
1 answer
97 views

Hi Telerik admin !

When i using Kendo UI for jQuery with Kendo grid object. I have a problem :

     Open page have kendo grid in browser PC. It work verry good.

    But when open by browser Mobile, content in kendo grid be hidden.

Please help me to show grid on Mobile is fully as in PC.

Tks verry much !

( picture in PC and Moblie in attachment file )

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 28 Oct 2020
1 answer
755 views

Hi,

When I use a kendo grid column menu with a column.command property, it seems to override the columnMenu,

As a test case, https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columnmenu

if you put a command in it, you will not see the column menu (3 dotted symbol) in the column header.

Is this how it is intended because I couldn't find any documentation on the situation.

If so, what are your recommendation if I want to use the column menu and also have some custom functions for the column using command property

 

For example:

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name", command: { name: "cmdName", click: function (e) { }}  },
    { field: "age" }
  ],
  columnMenu: true,
  dataSource: [
    { name: "Jane Doe", age: 30 },
    { name: "John Doe", age: 33 }
  ]
});
</script>

Neli
Telerik team
 answered on 28 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?