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

[Solved] Batch editing without rebinding the grid

0 Answers 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mathieu
Top achievements
Rank 1
Mathieu asked on 22 Sep 2011, 06:04 AM
Hi there, we are using the Telerik MVC grid with the operation mode set to GridOperationMode.Client. So the rows are loaded once and the paging/sorting is done on the client side. Works perfectly.

Then we applied the batch editing feature with the inserted, edited and deleted rows for the current page being submitted to the controller and persisted in the database. That works great, but the problem is that the grid expects all rows to be rebinded after the batch update as per the example:

return View(new GridModel(SessionProductRepository.All()));


This is not ideal when there's a large number of rows. Even if only one row is updated, all rows need to be rebinded.

Is there a way to tell the grid not to rebind itself after a batch update? Or to reload only the current page being displayed?

Thanks
Tags
Grid
Asked by
Mathieu
Top achievements
Rank 1
Share this question
or