This is a migrated thread and some comments may be shown as answers.

e.uniqueSort is not a function is thrown when jQuery version prior 2.2.x and 3.x is used together with Kendo UI R2 2019 (2019.2.514)

3 Answers 606 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Telerik Admin
Top achievements
Rank 1
Telerik Admin asked on 16 May 2019, 01:27 PM

$.uniqueSort() is not supported in jQuery versions prior 2.2.x and 3.x . Thus, using jQuery version 1.10.x, 1.11.x, 2.0.x or 2.1.x throws an error.

The usage of $.uniqueSort() in jQuery 1.10.x throws an error in multiple components like Menu, DropDownList, DropDownTree, and TreeView.

This problem will be fixed in our upcoming service pack release R2 2019 SP1. 

As a temporary  workaround until the issue is fixed you can assign jQuery unique method implementation to the jQuery uniqueSort if missing before initialization of any Kendo UI widget on the page.

For example please refer to the https://dojo.telerik.com/AGAsAKAG/3 dojo where the following code 

kendo.jQuery.uniqueSort = kendo.jQuery.uniqueSort ? kendo.jQuery.uniqueSort : kendo.jQuery.unique;

is included before the initialization of the Kendo UI widgets. 

Please, accept our apology for the inconvenience caused!

 




3 Answers, 1 is accepted

Sort by
0
Melaku
Top achievements
Rank 1
answered on 12 Jun 2019, 03:08 PM
Does it work with jquery 3.4.1 ?
0
Boyan Dimitrov
Telerik team
answered on 13 Jun 2019, 12:31 PM
Hello,

Indeed it works fine with jQuery 3.4.1 version and there is no need of the workaround when jQuery 3.4.1 is used. 

Regards,
Boyan Dimitrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Beipeniz
Top achievements
Rank 1
answered on 19 Mar 2020, 01:35 PM
Green Leaves CBD

https://www.marketwatch.com/press-release/green-leaves-cbd-uk-read-benefits-review-free-trial-price-side-effects-2020-03-17

Tags
General Discussions
Asked by
Telerik Admin
Top achievements
Rank 1
Answers by
Melaku
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Beipeniz
Top achievements
Rank 1
Share this question
or