Hi,
can any one please tell me how to know how many total pages are their in grid pagination.my requirements is to show like this
page 1 of totalpages
You can get total number of rows as
var total = grid.getRowsNum();
and size of the page
var size = grid.rowsBufferOutSize
In such case, total count of pages will be
Math.ceil(total/size);