- Home
- Forum
- Angular - EJ 2
- Virtualization scroll issue
Virtualization scroll issue
https://www.loom.com/share/01b5c06055e0441282873e5af573e705
Hi
When I directly scroll to bottom of virtualization table its always having some scroll issue, you can check it in my video and also my table row size is not same for all records.
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
TS
Thiyagu Subramani
Syncfusion Team
March 3, 2021 03:16 AM UTC
Hi Ashok,
We checked your reported problem and based on your shared information. But unfortunately we were unable to reproduce the problem from our end. We have shared the sample for your reference below,
So can you please share us the following information to validate further on this,
- Have you bound local or remote data to the Grid? If remote data which adaptor have you used.
- Are any console errors thrown?
- Grid code file.
- Syncfusion package version used.
- Share how much data(count) loaded to the Grid.
Regards,
Thiyagu S
SU
Surya
March 3, 2021 03:02 PM UTC
https://stackblitz.com/edit/angular-ivy-tap36y?file=src/app/app.component.html
Directly drag the scroll bar to end then you will see some fluctuations at end of scroll and also it will move to little top even we scroll it for end of the grid
TS
Thiyagu Subramani
Syncfusion Team
March 5, 2021 12:20 AM UTC
Hi Ashok,
Thanks for your update.
By default in EJ2 Grid, the default scrollbar will be displayed in the grid when content exceeds the element width or height. The vertical and horizontal scrollbars will be displayed based on the following criteria:
- The vertical scrollbar appears when the total height of rows present in the grid exceeds its element height.
- The horizontal scrollbar appears when the sum of columns width exceeds the grid element width.
- The height and width are used to set the grid height and width, respectively.
But based on your shared information we suspect that your reported issue may occurs while using customized scroller (modified default scroller) in your application. Please refer to the blow sample with our default scroller. Its works perfectly. So, we suggest to use our default scroller to achieve this requirement.
If its not fulfill your requirement, please share the purpose of this customized scroller to us.
Please get back to us, if you need any further assistance.
Regards,
Thiyagu S
SU
Surya
March 5, 2021 05:33 AM UTC
https://stackblitz.com/edit/angular-ivy-erdnhw?file=src%2Fapp%2Fapp.component.css
Even with default scroll if I drag the scroll to end of scroll its showing some scroll left we can see in the below link
TS
Thiyagu Subramani
Syncfusion Team
March 11, 2021 12:33 AM UTC
Hi Ashok,
Thanks for your update.
Based on your shared information we suspect that you are using allowTextWrap property in your application. By default in EJ2 Grid we do not have support for textWrap with virtual scrolling feature. Its default behavior. Please refer to the below link for more reference.
Limitations : https://ej2.syncfusion.com/angular/documentation/grid/virtual/#limitations-for-virtualization – Please refer the 8th point.
For this we suggest you can specify the row height as all the table rows are in same height. So, here we have applied rowHeight as 38px in sample level to achieve this requirement like below.
|
.e-grid .e-row {
height: 38px;
} |
Please get back to us, if you need any further assistance
Regards,
Thiyagu S
Marked as answer
SIGN IN To post a reply.