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
>
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/kendo.all.min.js"
></
script
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.common.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.rtl.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.default.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.mobile.all.min.css"
>
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/angular.min.js"
></
script
>
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/jszip.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
>
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.
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?
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
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".
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!
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
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 )
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>