I have a kendo grid which fetches data using the .READ method to fetch the data from database and show it on the grid. The grid has a scroll bar. I want to scroll down to the end of the grid, so that the last record is visible on screen.
thanks
Sanjay
1 Answer, 1 is accepted
0
Dimiter Madjarov
Telerik team
answered on 27 Mar 2015, 07:45 AM
Hello Sanjay,
If the current Grid is not using a virtual scrollbar, you could retrieve the height of the scrollable content in the Grid and scroll to the end.
E.g.
var grid = $("#grid").data("kendoGrid");
var content = grid.content;
content.scrollTop(content[0].scrollHeight);
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!