KendUI version 2014.1.416 compatibility with jQuery 3.6.0

1 Answer 44 Views
Application Data Source Grid
Ramim
Top achievements
Rank 1
Ramim asked on 15 Feb 2022, 11:16 AM

Hello guys, I hope you are all well.

I have a question about the KendoUI version 2014.1.416 as I am facing some issues with the kendoSortable() function.

At the moment, the jQuery version is the latest (3.6.0) and I have also placed the latest jQuery Migrate version (3.2.2) but the .data("kendoGrid") function always returns an "undefined" result, meaning that it does not find the actual grid.

Do you happen to know whether the problem is the latest jQuery version or the syntax to get the kendoGrid?

Below I have placed the JS line of code to fetch the grid.

- code sample: var grid = e.detailRow.find(".js-filter-conditions-grid").data("kendoGrid");

 

Regards,

R

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 18 Feb 2022, 07:10 AM

Hi Ramim,

The snippet with taking a reference with the data() method seems correct. You could find more examples in the article from the documentation linked below:

- https://docs.telerik.com/kendo-ui/intro/widget-basics/wrapper-element

However, below you will find the list with the jQuery supported versions.

- https://docs.telerik.com/kendo-ui/intro/supporting/jquery-support#supported-versions

As you will notice Kendo UI for jQuery is compatible with jQuery 3.6.0 starting with Kendo UI 2021.2.511 (R2 2021) version. Thus, I would recommend either upgrading to the latest Kendo version or choosing a jQuery version that is compatible with the Kendo UI for the jQuery version you are using. 

I hope this helps.

Regards,
Neli
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/.

Ramim
Top achievements
Rank 1
commented on 22 Feb 2022, 04:01 PM

Hello Neli,

Thank you for replying to my query, I really appreciate that.

I am currently using the 2014 version (Kendo UI) and have updated the app with jQuery 3.6.0, and upon further investigation about any occurring breaking changes, the app seems to work fine. In this scenario, is it ok to keep the old Kendo UI version with the latest jQuery? I believe that jQuery migrate is patching all the breaking changes that might occur between two (please, correct me if I am wrong).

Looking forward to hearing from you.

Regards,

Ramim.

Neli
Telerik team
commented on 25 Feb 2022, 10:23 AM

Hello Ramin,

It is entirely up to you whether to keep the jQuery 3.6.0 version. The older Kendo versions have not been tested against the jQuery 3.6.0. Thus, I could not say if any misbehavior will occur. 

Regards,

Neli

Tags
Application Data Source Grid
Asked by
Ramim
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or