Hi Dong,
Thanks for your patience.
Query: Need to provide continuous mode scroll for virtual scrolling in EJ2 Grid.
We are glad to announce that our Essential Studio 2020 Volume 1 Release is rolled out our Syncfusion package version 18.1.42 in that we have added our infinite scrolling feature and you can enable it at your end to avail the feature with corresponding package version.
By default Infinite scrolling is used to load a huge amount of data without degrading the Grid performance. This feature works like the lazy loading concept, which means the buffer data is loaded only when the scrollbar reaches the end of the scroller. To enable Infinite scrolling, set enableInfiniteScrolling property as true. You can define the initial loading pages count by using infiniteScrollSettings.initialBlocks property. By default, this feature loads three pages in initial rendering.
We have refer below demo sample and documentation for your reference.
Limitations of the Infinite scroll:
- Due to the element height limitation in browsers, the maximum number of records loaded by the grid is limited due to the browser capability.
- Initial loading rows total height must be greater than the viewport height.
- Cell selection will not be persisted in cache mode.
- Infinite scrolling is not compatible with detail template and hierarchy features.
- Group expand and collapse state will not be persisted in cache mode.
- The aggregated information and total group items are displayed based on the current view items. To get these information regardless of the view items.
- Programmatic selection using the selectRows and selectRow method is not supported in infinite scrolling.
Please get back to us if you need further assistance.
Regards,
Balaji Sekar