簡體   English   中英

Kendo無法使用jQuery 2.0?

[英]Kendo not working with jQuery 2.0?

Kendo UI Web似乎不適用於jQuery 2.0.0。 更新后,我的應用程序出現了問題。 網格默認為偶數寬度列,不再使用寬度值。

為了確認它不是我的應用程序中的內容,我從示例(或Kendo UI Grid Sample )中獲取了默認的index.html文件,並將引用jQuery.min.js更新為jQuery-2.0.0-min.js,存在相同的問題。

我想我暫時還停留在jQuery 1.9上,只是想知道是否有人在看這個,是否有我可以應用的修復程序或解決方法。

謝謝。

您碰巧正在使用Internet Explorer嗎? jQuery 2.0與1.9相同,唯一的區別是它們不提供IE的實現(至少在8以下),請查看此鏈接

您需要使用Kendo UI的最新版本來獲得jQuery 2.0支持。

我知道這是一個較舊的問題,但似乎沒有人指出指向Kendo的答案的鏈接: http : //docs.kendoui.c​​om/getting-started/javascript-dependencies

The current official version of Kendo UI requires jQuery 1.9.1. There are occasions in which a new jQuery version is released, which introduces breaking changes and is not compatible with existing Kendo UI versions. In such cases we recommend using the previous jQuery version until the next official Kendo UI release that resolves the problems. We normally do not change the jQuery version that is shipped with Kendo UI for service packs. We can do this for major releases. The following list provides compatibility information about previous major Kendo UI releases:
Kendo UI 2013.3.1119 (Q3 2013) - jQuery 1.9.1 (works also with 1.10.x and 2.0.x)
Kendo UI 2013.2.716 (Q2 2013) - jQuery 1.9.1
Kendo UI 2013.1.319 (Q1 2013) - jQuery 1.9.1
Kendo UI 2012.3.1114 (Q3 2012) - jQuery 1.8.2
Kendo UI 2012.2.710 (Q2 2012) - jQuery 1.7.1
Kendo UI 2012.1.322 (Q1 2012) - jQuery 1.7.1
Kendo UI 2011.3.1129 (Q3 2011) - jQuery 1.7.1
There should be no problem to use another minor jQuery version instead of the specified above, e.g. 1.7.2 instead of 1.7.1.

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM