Hi
I’m working on Grid with pagination.
I would like to know, how can we display the page number in more than one place, i.e I want to display the page numbers Above and below the grid on the right hand side.
When we do enablePaging() we specify a div id for only one location. I even tried to put the same div id in above and below the grid, but only one location is visible. So how to do it?
Thanks for your assistence.
You can get page number using event “onPageChanged”. This event occurs after the active page in the grid was changed. onPageChanged event passes the following parameters:
ind - index of the current page;
fInd - index of the first row on page;
lInd - index of the last row on page.
grid.attachEvent(“onPageChanged”, function(ind,fInd,lInd){});
Please see more information about customizing paging output here dhtmlx.com/docs/products/dhtmlxG … custpaging