Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Ember-cli-pagination pagedArray only load first page's data

$
0
0

@Kobejames wrote:

I am using this way to do the pagination:

pagedEvents: pagedArray(‘events’, { pageBinding: ‘page’, perPageBinding: ‘perPage’, totalPagesBinding: ‘totalPages’ }),

the ‘events’ is returned from model() and I made the backend to return “perPage”'s records every time I click the page number, the thing is: in the page, I can receive the data in Response but it only display first page’s data. And I did check the ‘events’ get updated every time, but It just didn’t shown on the page.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles