resolved bug in grids when page = 1

I resolve a bug in datagrids render when page=1