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)

4 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 16 May 2019 Link to this post

    $.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!


  2. Melaku
    Melaku avatar
    1 posts
    Member since:
    Jul 2016

    Posted 12 Jun 2019 in reply to Telerik Admin Link to this post

    Does it work with jquery 3.4.1 ?
  3. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 13 Jun 2019 Link to this post


    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. 

    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.
  4. Beipeniz
    Beipeniz avatar
    2 posts
    Member since:
    Mar 2020

    Posted 19 Mar Link to this post

    Green Leaves CBD


Back to Top