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

Virtual scrolling with datasource paging unstable

2 Answers 145 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 25 Sep 2013, 11:10 AM
Hello,

I'm using a kendo grid with scrollable: { virtual: true } with a kendo datasource with serverPaging.
This works fine when the grid is only used to read data, but i'm experiencing strange effects with CRUD operations on the datasource.
Especially when a datasource.cancelChanges() is called when the grid is on another page then the first page.
When I edit any of the model fields and decide to cancel the changes this is what happens:
- the Model.set has been called due to leaving the input (blur event)
- dataSource.cancelChanges will be called.
- dataSource jumps to first page.

Side effects:
- page data is out of sync and doesn't show the first row anymore.

It even gets weirder when I use dataSource.cancelChanges(myModel) when i'm on another page then the first page.
The entire row disappears from the grid which leaves the grid showing 14 rows instead of 15 (pageSize).

All in all the whole paging mechanism appears to be extremely buggy in a real world application (including CRUD operations.. etc)
 

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 27 Sep 2013, 07:49 AM
Hello Marcel,

I believe that this topic duplicates another thread open by you.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Marcel
Top achievements
Rank 1
answered on 27 Sep 2013, 08:40 AM
Hello Alexander,

Yes it does. Sorry for that, but the grid and datasource are kinda closely related to these issues.
You can delete this one if you want.

Regards,
Marcel
Tags
Grid
Asked by
Marcel
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Marcel
Top achievements
Rank 1
Share this question
or