ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

UI Grid 3.0 paging example

Open mplayer opened this issue 12 years ago • 5 comments

is there an example of server and client side paging for ui-rid 3.0

mplayer avatar Sep 28 '14 00:09 mplayer

We're also interested in server paging, didn't see any examples anywhere yet. Happy to wait as we understand this is in beta, an ETA on paging though would be great because we can decide to hold out for ui-grid or implement ng-grid now and plan to port when ui-grid is in release. Great stuff, thanks angular ui team!

BillMcCrary avatar Sep 28 '14 15:09 BillMcCrary

I feel like I answered something like this recently (making this a duplicate), but I can't find it now.

The answer I think is that none of the current development team is currently working on it, although it is marked as a future feature. The focus is stabilising what we have to get to a 3.0 release, then in future extending. Of course, we'd always welcome additional developers who would be keen to contribute this feature.

In terms of what is needed to implement paging, most of the wiring is already present through the infinite scroll functionality. It is possible to implement paging outside the grid at the moment through adding a pagination control to your page, with next page/previous page buttons, and just replacing the gridOptions.data as you retrieve the new data. Obviously it would be nicer to have this as a grid feature on top of the existing functionality, but in concept implementing that feature, or implementing pagination outside the grid, are similar pieces of work that would impact little, if at all, on the core.

I would recommend going with 3.0, even if you had to hand-roll basic pagination for now, as I think it will with time (and arguably even now) become much more robust than the 2.x version.

PaulL1 avatar Oct 01 '14 00:10 PaulL1

Refer also #1367

PaulL1 avatar Oct 01 '14 00:10 PaulL1

Paging is now in ui-grid.

c0bra avatar Feb 16 '15 17:02 c0bra

I have also faced the UI-Grid Pagination Design issue in IE9. I have resolved this issue with the help of CSS. Follow the below link.... Hope this will help.

[http://dp1981.blogspot.com/2016/07/ui-grid-ie9-pagination-issue.html]

dipankarpaul avatar Jul 25 '16 14:07 dipankarpaul