Scroller position with Infinite scrolling ~Branched from Forum 138427

Hi, 


I am using ejs-grid with infinite scrolling inside ejs-tab, in console whenever I scroll and reach end of the grid I am fetching data from api and also data is getting updated. But grid scroller is hitting top of the grid again.


I have tried this.grid.refresh(), but it is not working.


1 Reply

PS Pavithra Subramaniyam Syncfusion Team June 26, 2023 11:26 AM UTC

Hi Aparna,


By default, the infinite scrolling feature will load the next set of data while the scroller reaches the bottom of the Grid and set the scroller position based on the loaded data in the Grid. To fetch the data again, the user needs to reach the bottom again. This is the default behavior of the Grid Infinite scroll feature. If the scroller is moved to the top of the Grid, please share the below details which will be helpful for us to provide a better solution as early as possible.


  1. Share the full Grid code example,
  2. Share the type of data binding in Grid (local or remote, if remote share the adaptor type)
  3. Share the Syncfusion package version
  4. Share the video demo of your issue
  5. Try to share an issue reproducible sample which will be easier to validate the issue


Regards,

Pavithra S


Loader.
Up arrow icon