Rename or condense paging/pagination and tutorials 214 and 215
So now there's two feature modules, "paging" and "pagination". That's going to be really confusing for our users.
Can these be combined into one? Or at least renamed if they accomplish two separate things?
+1 Here is the first user confused about that. I use the pagination for client-side paging. However, I tried to turn off pagination for one table in my App, but gridOptions.enablePagination=false doesn't seem to work. Should I switch to paging ?
Hi I am trying to use the paging stuff shown on the tutorial page but it appears that ui.grid.paging is not available yet in 3.0.0-rc.16 is this correct?
@wgorder: when it works on the tutorial page it should also work for you. The plunker also works (Note: it works! I didn't say that it is good-looking :) ) Maybe you should post your code on stackoverflow?!
@nabinca
The module is defined in src/features/paging/js/ui-grid-paging.js in the master branch. What I am saying is that if you pull in 3.0.0-rc.16 from bower you get a single ui-grid.js file. And the ui.grid.paging module is not defined in there anywhere. This leads me to believe that this feature is not yet available in the latest release that can be obtained from bower.
See here: https://github.com/angular-ui/ui-grid.info/tree/v3.0.0-rc.16/release/3.0.0-rc.16
The two modules are doing more or less the same. While "paging" provides pagination controls, "pagination" provides a public API so the pagination controls may be implemented externally. If that API would be moved to paging, you could probably drop the pagination module.
Do you want me to investigate that and work out a PR? If yes, should the combined module be called "paging" or "pagination"?
Yes, I think that would be useful. I'd call it pagination personally, not sure if others have a different opinion.
+1 I've just tried to implement my own pagination controls with an external pagination and it's really confusing. If I understood right, it's not possible at the moment to use the pagination API with the paging module, right ?
+1
I am currently using an unstable version of ui-grid and it has the paging module included. Personally, I prefer paging over pagination since much of the work is already done for you. One good thing about the current paging module, sorting works over the entire collection, not just for what's currently being displayed. Filtering, on the other hand, works on page data only.
Completed.
Thanks, @PaulL1. But is pagination a function only in the unstable version?
Potentially so, yes.
Sent from my iPad
On 4 Feb 2015, at 5:56 am, Blaise Liu [email protected] wrote:
Thanks, @PaulL1. But is pagination a function only in the unstable version?
— Reply to this email directly or view it on GitHub.
Any chance, we can get a new release soon?
Refer #2545
I see. Replace "release" with "release candidate" in my question. ;-)
The next release candidate we're aiming for having all the hi-pri bugs fixed. We're close, but there are a few that still need doing: https://github.com/angular-ui/ng-grid/issues?q=is%3Aopen+is%3Aissue+label%3A%22Hi-Pri+Bug%22