3

I've been writing my own pagination logic that would be similar to the Ember.SortableMixin but with support for paging. Does anything like this exist yet in the pre 1.0 build?

If this doesn't exist is a pull request welcome around this specific behavior? It's my guess that 90% of apps out there need simple pagination/sorting and having a mixin built in would cut out almost 60+ lines of code.

Thank you in advance

Update

I replied to another "ember/ pagination" question and my full blown (working example) can be found at the below

Ember pagination full example

Community
  • 1
  • 1
Toran Billups
  • 27,111
  • 40
  • 155
  • 268

3 Answers3

5

Here's a simple one that I've used: https://gist.github.com/1559628

It's by one of the top ember contributors.

dechov
  • 1,833
  • 1
  • 15
  • 18
  • 1
    any chance we could get this into the 1.0? looks like higher quality than what I was writing myself and it appears to be really well written/documented javascript – Toran Billups Sep 18 '12 at 21:26
2

i've just come across emberjs-pageable. it looks quite nice at first glance, but i'm not sure if it's still maintained.

Finn MacCool
  • 808
  • 1
  • 7
  • 12
0

I've been using this one https://github.com/mathieul/page_wrapper

Tailored for use with Rails but could easily be adopted.

Really happy with it so far.

Kim Fransman
  • 145
  • 2
  • 6