I added the event handler (scrollBottom) and every time I scroll I am querying the api and updating the datasource [data] . it adds 1-2 empty rows at the end of every page.
1 Answer, 1 is accepted
0
Martin Bechev
Telerik team
answered on 06 Mar 2023, 11:36 AM
Hi Yamunadevi,
I think that I didn't understand correctly the issue that you are experiencing. Based on the provided details I am not sure how the Grid is configured and how it should behave.
The scrollBottom fires each time when the user reaches the bottom of the Grid. The content of the rows is determined by the data items inserted in the Grid collection. Double-check the bound collection after modifying the array and makes sure the updated array is used for the paging as well.
I am looking forward to your reply.
Regards,
Martin
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.