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

Custom binding and data loading

2 Answers 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jill-Connie Lorentsen
Top achievements
Rank 1
Jill-Connie Lorentsen asked on 30 Mar 2016, 10:35 AM

I am using custom binding and have followed this documentation http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/custom-binding

I read the data from a database, I am wondering if there is a way NOT to do this every time the user goes to a new page, changes the sorting, filtering, page size etc?

 

Regards, Jill-Connie Lorentsen

2 Answers, 1 is accepted

Sort by
0
Jill-Connie Lorentsen
Top achievements
Rank 1
answered on 30 Mar 2016, 12:16 PM
I've tried setting virtual scrolling = true, without any luck. 
0
Rosen
Telerik team
answered on 01 Apr 2016, 07:50 AM

Hello Jill-Connie,

In order operations such as paging, sorting, filtering etc. to be handled on the server-side, every time event such as changing the paging, sorting by a field etc. occur an request to the server will be made in order the operation to be handled. If you wish to DataSource to handle the operations in-memory on the client-side, you could set the ServerOperation DataSource setting to false. However, you should be aware that in this case the built-in logic of the DataSource will kick-in and you will not be able to use custom binding.

Regards,
Rosen
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Jill-Connie Lorentsen
Top achievements
Rank 1
Answers by
Jill-Connie Lorentsen
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or