question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

client side pagination doesn't work

See original GitHub issue
<tr ng-repeat="value in values| orderBy: $order | limitTo: $limit: ($page - 1) * $limit">
        <td>{{value.value}}</td>
        <td>{{value.date}}</td>
</tr>
<md-data-table-pagination md-limit="$limit" md-page="$page" md-total="{{values.length}}"></md-data-table-pagination>

i can see the number(pages) of the pagination changes but, the data doesn’t change

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mustafabereketcommented, Apr 21, 2016

Oh my gosh! You are totally right. I missed that, sorry about that. and Thank you!

0reactions
daniel-nagycommented, Apr 21, 2016

Hmmm… One thing I see is in your ng-repeat expression you are using usersCtrl.userList and in you pagination directive you have md-total="{{usersCtrl.deviceList.length}}". That doesn’t seem intentional to me.

I don’t see anything else popping out at me though. Is the next button disabled or just not going to the next page?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Datatable Pagination not working properly on server side
I've generated my table in server side and I was able to get the data from my DB and it works perfect but...
Read more >
jquery datatable server-side pagination not working
I'm trying to implement the jquery datatables on a php project using the server-side processing, but the pagination is not working and I ......
Read more >
Client Side vs Server Side Pagination: How to Choose the ...
Server Side Pagination is when the server in which the data is hosted only returns a subset of the data requested by the...
Read more >
Introduction to Client Side and Server Side Pagination in ...
Client-side pagination requires browsers to support and enable Javascript, but it should not be a big deal for most cases. However, when the ......
Read more >
DataGrid - Server side pagination does not work with client ...
DxGrid does not call the load function with values for skip/take when grouping is enabled and grouping.autoExpandAll is set to false .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found