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

Kendo UI Grid parse error using datasource

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lucas
Top achievements
Rank 1
Lucas asked on 03 Sep 2015, 01:26 AM

Hi Everyone,

So I have been creating a basic grid using angularjs and I keep geting the .toLowerCase not allowed error when assigning a remote data source to a grid.

 Here is a dojo I have saved that shows a similar parse error: 

http://dojo.telerik.com/uCATI/4

 If I move that standard data into the grid's datasource definition, everything works fine... Any idea why I am getting the JS error?

 Thanks,

Lucas ‚Äč

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 04 Sep 2015, 11:54 AM

Hello Lucas,

 

The DataSource data expects an array of data. In the provided example the data variable is an kendo.data.DataSource instance. 

 

In this case this object should be set for the Kendo UI Grid dataSource. Please refer to http://dojo.telerik.com/uCATI/9 example. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Lucas
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or