Event For Grid Scrolling when reaches to EndPoint

Hello there,

I need to show some message when scroll bar in grid reaches to end.

 

3 Replies 1 reply marked as answer

VS Vignesh Sivagnanam Syncfusion Team September 24, 2020 03:22 PM UTC

Hi Salik, 

Thanks for contacting Syncfusion support. 

Based on your requirement you need to trigger a event while the scroll bar reaches its end. Before we proceed to your query we would like to know the following details to validate further on your requirement. 

1. Have you used Normal Scrolling or Virtual Scrolling in your grid. 

2. Share the Complete Grid rendering Code. 
 
3. Are you using local or remote data in the Grid? 
 
4. Share the Syncfusion package version. 

Regards, 
Vignesh Sivagnanam 



KS khadija saidou October 6, 2020 09:15 AM UTC

Hello i want the same thing, 
in my case i used infinit scroll for angular. 

<ejs-grid #entitiesDataGrid

          id="entitiesDataGrid"

          [dataSource]="entities"

          [height] = 450

          [pageSettings]="pageSettings"

          [enableInfiniteScrolling]="true"

          [infiniteScrollSettings] = "infiniteOptions">


i'm using remote data i call api to get element ( and i want also to know how to call paginated API when scrolling and changes datasource ) 

package version : 18.3 



VS Vignesh Sivagnanam Syncfusion Team October 7, 2020 02:36 PM UTC

Hi Salik 

Thanks for the update. 

To achieve your requirement we suggest you to use the actionBegin event of EJ2 Grid. In infinite scrolling the actionBegin event will be triggered when the scroll bar reach to the end. 

Please refer the below sample for your reference 


Regards  
Vignesh Sivagnanam 


Marked as answer
Loader.
Up arrow icon