angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

ui-pagination seek method doesn't work #4684

Closed adoueb closed 8 years ago

adoueb commented 8 years ago

Hello, I have a grid with the standard pagination.

I go to page 3 for example (277 items, 10 items per page). I edit one item and come back to the page having restored the grid state and reassigned the data (same count and even same data in my current test case).

$scope.gridApi.pagination.seek(3) doesn't work because grid.options.totalItems is 0.

Could someone help me fix the problem ? Regards.

imbalind commented 8 years ago

@adoueb could you please build a plunkr showing the issue?

imbalind commented 8 years ago

I'm closing this since no updates for more than a month.

McMounir commented 7 years ago

same problem gridApi.pagination.seek(N) and gridApi.pagination.getTotalPages() not working for me after switching from OData V3 to Odata V4 !! but i dont see the relation between OData And GridOption !!!

insterad of that gridApi.pagination.previousPage() still working very well.

any help please, thank you.