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

Lazy Loading In Kendo Grid issue

3 Answers 241 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sudip
Top achievements
Rank 1
Sudip asked on 29 May 2014, 09:43 AM
In my application there is a Kendo  grid which is being populated by data coming from a webservice call.
The requirement is to display 20 data per scrolling and I want every time user scroll through the grid the service will be called to fetch the data.

We can see the similar functionality in the social media site like Facebook.
I have done it in the following way but it is not working I mean in each scrolling the webservice call is not happing.

Please any one help me. I have attached the file herewith.

3 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 31 May 2014, 08:41 AM
Hi Sudip,

Thank you for the provided code snippets. I reviewed them and noticed that the Read URL is pointing a JSON file. In order to get the virtual scrolling working with server paging you need a service that handles the take and skip request parameters and sends back only the items matching the criteria.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sudip
Top achievements
Rank 1
answered on 02 Jun 2014, 05:28 AM
Hi ,
Thanks for replying .
Please let me know if you have any sample code/url which I can follow for implementing this scenario .
I had a look at the example provided in Teleric web site but that has not helped much .
Any basic example would help me a lot .
Regards,
Sudip

0
Alexander Popov
Telerik team
answered on 03 Jun 2014, 12:59 PM
Hello again Sudip,

Such examples are distributed with our ASP.NET MVC, Java and PHP extensions could be found in the Kendo UI installation path, under the \wrappers\aspnetmvc*\Examples directory. Additional information could be found below:
Regards,
Alexander Popov
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
Sudip
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Sudip
Top achievements
Rank 1
Share this question
or