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. Image for the cookie policy date

Fetching data when scrollbar reaches the end

Hi,
I've implemented infinite scrolling, but I'm having an issue when it fetches new data it refreshes my grid, and I lose all checkbox values and scrolls to the top.

My infinite scroll call to backend looks like this:

    if (
      args.requestType == 'infiniteScroll' &&
      args.startIndex == this.startIndex
    ) {
      this.startIndex += this.tableService.paging;
      this.fetchMore.emit();
    }


I'm using auto-generated columns with dynamic column.visible option.
I've attached a video on how it looks.


Attachment: VideoEditor_20221123_090247_a5ca600f.zip

Loader.
Live Chat Icon For mobile
Up arrow icon