- Home
- Forum
- Angular - EJ 2
- Problem with virtual scroll data grid angular
Problem with virtual scroll data grid angular
Hello,
We have a problem with the datagrid component and more precisely, the virtual scroll. When you quickly scroll a line break will be felt and we cannot bring this lack of precision to our customers. This problem is also visible in your examples:
https://ej2.syncfusion.com/angular/demos/#/material/grid/virtualization
Could you tell me how to overcome this problem?
Thank you
SIGN IN To post a reply.
5 Replies
DR
Dhivya Rajendran
Syncfusion Team
January 23, 2020 10:47 AM UTC
Hi Gaylord,
Thanks for contacting Syncfusion support.
We suspect that you are mentioning the delay between scroller release and content rendering. If you are mentioning that delay, We would like to inform you that we have used debouncing technique in Virtual scroll. In which we will render the rows, after the scroller is released. Until the Current requested records loaded, translation will be showed. Due to this Remote Data Binding performance will be high and DOM usage will be optimized.
If you are not mentioning this scenario, please share the video demonstration of the problem, which will help us to validate, and provide a better solution as soon as possible.
Regards,
R. Dhivya
GP
Gaylord Petit
January 23, 2020 10:58 AM UTC
Hello,
Thank you for your reply.
As you can see on the video I just added to you in ZIP, the second scroll and the fifth jump once we stop the scroll. A display jump is very unpleasant to use when scrolling quickly and we do not see how to solve this problem. Can you understand the problem?
Thank you
Attachment: Data_Grid_·_Virtual_Scrolling_·_Essential_JS_2_for_Angular_·_Syncfusion_4146f59f.zip
BS
Balaji Sekar
Syncfusion Team
January 24, 2020 05:04 PM UTC
Hi Gaylord,
Thanks for your update.
Yes, we can understand your problem. As we mentioned earlier, debouncing technique used in Our Virtual scroll, there might me a fraction of seconds delay. For that delay we applied the translation, that will be showed until the current block records are loaded. While translation removed and the current block records appended to grid, you will see the change in the content( you are mentioning this as jump). This is the default behavior.
Please let us know, if you need further assistance.
Regards,
Balaji Sekar.
FL
flo
July 10, 2020 02:44 PM UTC
Hello, we also have problems with the "fake" virtual scrolling behavior of the ej2 vue component.
The jump is very noticeable and it's impossible to know how far the user has scrolled as IDs or any keys will not be loaded until the scrolling has finished. This defeats the illusion of a seamless scrolling list.
Is there a way to disable the debouncing and rather load the next batch before the end of the block is reached?
Please have a look at how this virtual scroller differs from ej2's virtual scrolling.
Performance doesn't seem to be an issue.
Performance doesn't seem to be an issue.
Thank you.
RR
Rajapandi Ravi
Syncfusion Team
July 13, 2020 11:59 AM UTC
Hi flo,
By default in EJ2 Grid Virtual Scrolling we have used debouncing technique, so there might me a fraction of seconds delay. For that delay we applied the translation that will be showed until the current block records are loaded. While translation removed and the current block records appended to grid, you will see the change in the content. This is the default behavior.
From validating your query we suspect that you like to load the data when the scrollbar reaches the end of the scroller. So we suggest you to use the Infinite Scrolling feature instead of VirtualScroll. To enable Infinite scrolling, set enableInfiniteScrolling property as true. Please refer the below Sample demos and documentation for more information.
Regards,
Rajapandi R
SIGN IN To post a reply.
- 5 Replies
- 5 Participants
-
GP Gaylord Petit
- Jan 22, 2020 08:28 AM UTC
- Jul 13, 2020 11:59 AM UTC