Kendo UI Grid not showing values from remote datasource

1 Answer 103 Views
Grid
Abhishek
Top achievements
Rank 1
Abhishek asked on 21 Jul 2021, 06:35 PM

Hi 

I have a remote datasource that renders JSON values. I am trying to show the values in Kendo UI grid (jQuery). 

While the data is being correctly retrieved from the WebAPI (it is a Telerik web service), the grid doesn't display any values. 

Can you please advise what could be going wrong? 

there is no error in the dev console.

JS Bin:  https://jsbin.com/movetajuge/edit?html,js,output

Cheers

Abhishek

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 26 Jul 2021, 10:58 AM

Hello Abhishek,

Thank you for sharing the Grid implementation with me.

As far as I can see the data is binding correctly to the Grid. I just added a pageSize property to the data source to make the pager info displaying the correct count of the data. Please refer to the following Dojo:

Please let me know if  I am missing something.

Regards,
Nikolay
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Abhishek
Top achievements
Rank 1
commented on 26 Jul 2021, 05:15 PM

Thanks Nikolay. Earlier, I had used json and this worked with jsonp.

I have updated the Dojo with a new URL and updated model. The issue came back that the data is being retrieved but not displaying in the Grid.
Nikolay
Telerik team
commented on 28 Jul 2021, 11:03 AM

Hi Abhishek,

Could you please share the new Dojo link? Once I have I will be able to investigate and advise further.

Regards,

Nikolay

Abhishek
Top achievements
Rank 1
commented on 28 Jul 2021, 11:13 AM

Dojo link: https://dojo.telerik.com/ivayeton
Nikolay
Telerik team
commented on 29 Jul 2021, 07:58 AM

Hi Abhishek,

Thank you for sharing the Dojo link.

As soon as I run it I get an error in the console:

This typically means that Chrome could not find the IP address which matches the website domain name you entered. More information can be found here.

Please ensure the URL link is correct and that it returns successfully the data so the Grid can bind to it.

Regards, 

Nikolay

 

Tags
Grid
Asked by
Abhishek
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or