We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with virtual scroll data grid angular

Thread ID:

Created:

Updated:

Platform:

Replies:

150860 Jan 22,2020 08:28 AM UTC Jul 13,2020 11:59 AM UTC Angular - EJ 2 5
loading
Tags: Grid
Gaylord Petit
Asked On January 22, 2020 08:28 AM UTC

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


Dhivya Rajendran [Syncfusion]
Replied On 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

Gaylord Petit
Replied On 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

Balaji Sekar [Syncfusion]
Replied On 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. 


flo
Replied On 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.


Thank you.

Rajapandi Ravi [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon