Error: is not a function

2 posts, 0 answers
  1. Camilo
    Camilo avatar
    1 posts
    Member since:
    Oct 2012

    Posted 09 Aug 2016 Link to this post

    Hi everyone,

    I have a kendo ComboBox being binded to a json object as follows:

    function getTests(element) {     //element is just an input


           dataTextField: "Name",         

           dataValueField: "Id",         

           dataSource: {             

                  data: [{ Id: 2, Name: "Test 1" }, { Id: 8, Name: "Test 2" }, { Id: 6, Name: "Test 3" }]        


           placeholder: "Select One",         

           suggest: true,         

           filter: "contains",     

    }); }


    And I'm receiving the following error:

       Uncaught TypeError: is not a function



    I'm working with:

       kendo.version = '2016.2.714'


    Plese give a clue on this



  2. Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 11 Aug 2016 Link to this post

    Hello Camilo,

    I was not able to reproduce the error on my end. Could you please check my test page and let me know what I am missing?

    Looking forward to your reply.

    Alexander Valchev
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top