I need to display the pagination and records count in both top and bottom of my Kendo Grid. I'm using jQuery KendoGrid.
Current grid contains pagination | records per page dropdown | and records count, on bottom of the grid. I want to show pagination and records count in top of the grid also.
What I try
I try somethig like this. In data bound event, I try to clone the bottom div and append it to top of the grid.
var grid = $("#grid");
var topBar = grid.find(".k-grid-pager").clone();
topBar.find('span.k-pager-sizes').remove();
topBar.find('a.k-pager-refresh').remove();
topBar.insertBefore(grid.children(".k-grouping-header"));
Problem
the bottom div recreated in top of grid, but the pagination functionality is not there, and the records count is not updating . its shows the value on the fist load only.
Is there any other neat way to show this on both top and bottom of the page ???