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

Virtual Scrolling Issues after scroll down

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
om
Top achievements
Rank 1
om asked on 06 Mar 2017, 01:21 PM
In our application we have a virtual scrollable grid. We have implemented a function to refresh the grid data from the server by calling the datasource's "read" method.a side effact is that scroll down to last row then click on refresh means calling  datasource.read() after this scroll up 
datasource call read on every scroll up and also row data-uid set to undefined 

See fiddle: 
http://dojo.telerik.com/@ppatel161988/UsuqE

Steps : 
1. Run code
2. then Scroll down to last row
3. call datasource.read inside the console 
4. then scroll up if you see inside devloper tool - > network see order call on every scroll up  

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 08 Mar 2017, 08:09 AM
Hi,

The problem with the dojo example is due to the disabled server operations. Here is the modified dojo that works as expected:
You can also refer to the following online demos for the virtual scrolling:

Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
om
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or