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

Error: s.data.Query.compareFilters is not a function

1 Answer 153 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Camilo
Top achievements
Rank 1
Camilo asked on 09 Aug 2016, 12:42 PM

Hi everyone,

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

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

   element.kendoComboBox({         

       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: s.data.Query.compareFilters is not a function

from:

   kendo.web.js:28607

I'm working with:

   kendo.version = '2016.2.714'

 

Plese give a clue on this

 

Regards

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 11 Aug 2016, 11:30 AM
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.

Regards,
Alexander Valchev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Data Source
Asked by
Camilo
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or