Telerik Forums
Kendo UI for jQuery Forum
7 answers
2.1K+ views

I'm using Kendo UI for jQuery.

All my grids render with 20 columns at the least, and although I have set multiple choices for pagesizes available, it's likely that for most of the time when people use my application, they'll be dealing with grid data with all of the rows rendered at the same time (>4000).

Problem is, when all the rows are rendered, the grid is slowed and lagged beyond use; hover states are not matching between fixed and column rows (which I had to write a separate script for), scrolling is lagging or at times impossible, checkboxes take good 3 seconds before it's checked, 5 seconds to uncheck it, etc. Not only does it render so slow that my entire browser freezes, after it renders it basically prevents me from doing anything else within my website. 

I tried scrollable (virtual, endless), server scrolling, server paging, changing databinding & databound functions, but nothing seems to resolve the speed issue. From what I just checked it takes 4 seconds to resize itself after I changed the browser size. The essentials of my grid relies on displaying large amounts of data to be able to manipulate them, and this lagging is practically rendering my pages unusuable. I'm wondering if this issue could be fixed by Telerik. Thanks in advance.

Angel Petrov
Telerik team
 answered on 13 Apr 2020
3 answers
146 views

I'm tasked with creating a modal that contains three kendo grids that are presented like a treeView. When pressing the expand button for each grid, the details will appear. For a clearer picture of what I'm trying to achieve, please refer to the image attached.

 

I've succeeded in creating each kendo grid individually. However, they do not collapse/expand. Each Kendo grid is usually different from the others so I don't believe I can do something like https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/events/detailinit. Is it possible to accomplish what's shown in the image I attached?

Martin
Telerik team
 answered on 13 Apr 2020
2 answers
213 views

I have integer based data. So I set my label format to be {0:N0}.If I have a limited data set (0, 1) I would only want two lines on the chart for 0 and 1. Instead I get lines for 0.0, 0.2, 0.4, 0.6, 0.8, 1.0 etc. Due to the value rounding these all appear as 0, 0, 0, 1, 1, 1. This looks really stupid.

Here's a Dojo showing what i mean: https://dojo.telerik.com/UvePaCOj/2

Paul
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 13 Apr 2020
3 answers
140 views

When I created a timeline in horizontal mode with data=[], it throws exception.

The source code: https://dojo.telerik.com/oSiroXIv/3

The exception:

Uncaught TypeError: Cannot read property 'left' of undefined
    at o (kendo.all.min.js:sourcemap:92)
    at init._initHorizontal (kendo.all.min.js:sourcemap:92)
    at init.refresh (kendo.all.min.js:sourcemap:92)
    at init.d (jquery.min.js:2)
    at init.trigger (kendo.all.min.js:sourcemap:25)
    at init._process (kendo.all.min.js:sourcemap:28)
    at init.success (kendo.all.min.js:sourcemap:28)
    at Object.success (kendo.all.min.js:sourcemap:28)
    at init.read (kendo.all.min.js:sourcemap:27)
    at kendo.all.min.js:sourcemap:28

Nikolay
Telerik team
 answered on 13 Apr 2020
1 answer
177 views

Hi!

I need to refresh datasource. But as I know from code setDataSource runs _redraw function. 

It renders only one date per page.

But it is not solution. Because when I manually run redraw with setTimeout, it shows what I expected. And shows 10 events per page.

Is it possible to fix it.

My manual code: 

      timeline.setDataSource(data);
        if (data.length > 0) {
            setTimeout(() => {
                timeline.redraw();
            });
        }

Nikolay
Telerik team
 answered on 13 Apr 2020
2 answers
166 views

Please see the dojo example I have set up at: https://dojo.telerik.com/AYUrAZOJ/3

The example is working exactly how I want it to with the exception that the height of the .nav-toolbar shrinks when I make .navigation-pane a flex container. I have added another toolbar just to the right of the .nav-toolbar to show the size difference. If you were to remove the styles for .navigation-pane and .nav-content the .nav-toolbar sizes as expected.

I am hoping there is a flex css value I am missing, but after about an hour of research and trying different things I have not found anything that gets the toolbar to maintain its original height. Any help would be greatly appreciated.

Please let me know if any further clarification is needed.

Thanks

Kerry

Petar
Telerik team
 answered on 13 Apr 2020
3 answers
36 views
I would like to move my data a bit to the right on the X axis so that the data does not start at the corner of the chart. Is something like this possible? I have attached a screenshot showing where the issue is. Thanks!
Nikolay
Telerik team
 answered on 10 Apr 2020
2 answers
235 views
Hi, 

I have the problem with getting datepicker to work. it said invalid format, please advise

shared/_Layout.cshtml

<head>
<script src="@Url.Content("~/Scripts/cultures/kendo.culture.en-AU.min.js")" type="text/javascript"></script>


        <script type=”text/javascript”>


        //set the Kendo UI culture


            kendo.culture("en-AU");


        </script>

</head>

Date.cshtml

@model DateTime?
 
@(Html.Kendo().DatePickerFor(m => m)
               .Format("d/MM/yyyy")
               //.Value(Model.HasValue ? Model.Value.ToShortDateString() : string.Empty)
          
               .Value(Model)
               )
Petar
Telerik team
 answered on 10 Apr 2020
1 answer
341 views

Forgive me if this is a newbie question, but I just started working with Visual Studio Code and NPM.

I am using Visual Studio Code to build a Kendo UI jQuery-based application (including the use of typescript)

I am following the instructions here: https://docs.telerik.com/kendo-ui/intro/installation/npm. I also install typescript support, using the instructions here: https://docs.telerik.com/kendo-ui/third-party/typescript. I am not following the instructions completely, I use

This works fine, in a way, but during the NPM-installation, the .js and .css files are located deep down in /node_modules/...

So, in my HTML-file, instead of using something like this:

    <link href="styles/kendo.common.min.css" rel="stylesheet" />

I have to use:

    <link href="node_modules\@progress\kendo-ui\css\web\kendo.common.min.css" rel="stylesheet" />

That doesn't feel right. Of course, I could manually copy the css, js, etc files from the node_modules structure to folders "styles", "js", etc but that would make the use of NPM rather useless (I could just as well manually download the.zip-file from Telerik and copy the files). Also, if I would run NPM -install again, I could potentially bring down new versions of the css/js-files, and would have to remember to manually copy the files to "styles", "js"-folders again.

I have a feeling I am using the wrong technique here, any ideas?

/Fredrik

 

Ivan Danchev
Telerik team
 answered on 09 Apr 2020
1 answer
218 views

Okay first thing, I'm trying to get this functionality working in our implementation;

https://docs.telerik.com/kendo-ui/knowledge-base/grid-prevent-popup-close-on-edit
https://dojo.telerik.com/UKobIzuN

 

Using the dojo example linked above, there is a line that does not work in our version.

var editWindow = this.editable.element.data("kendoWindow");

 

When I try that in ours, it just crashes.  For reference, our version looks like this;

$("#scheduler").kendoScheduler({
    //bunch of stuff
    editable: editable,
    edit: function (ePopupEdit) {
        //bunch of stuff
        var editWindow = this.element.data("kendoWindow");
        editWindow.unbind("close");
        editWindow.bind("close", onWindowEditClose);
 
    //bunch more stuff
    },
    save:  function (e) {
        preventCloseOnSave();
    },
)};

What am I doing wrong?

 

Thanks.

Martin
Telerik team
 answered on 09 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?