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.

$$index bug on server sierve-side paging

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior Something changes $$index inside array for rows on server-side paging. On first load of page everything is ok, but when u return to it the order of rows changes.

Expected behavior The order of rows doesnt change on page change. Reproduction of the problem http://plnkr.co/edit/XXiJfDDKxLv3X7IT0QQa?p=preview

or server-paging in demos

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Table version: 1.7.0

  • Angular version: 2.2.0

  • Browser: all

  • Language: TypeScript 2.1.1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ocombecommented, Dec 5, 2016

The bug is fixed for me in 2.1.3, not sure in which version you’ve fixed it, but it works now

0reactions
ocombecommented, Nov 27, 2016

No, I haven’t took time to investigate, but it’s in the 1.6.0 release 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server side paging should just work of rows without index #293
With server side paging data table expects data in index position relative to the page. For example for second page with page size...
Read more >
bug with server-side pagination — DataTables forums
Hi, I'm using server-side processing and I can't set page like this: table.page(pageIndex).ajax.url('someUrl').load(function() ...
Read more >
Creating an appropriate index for server-side paging query
Hey I did some testing with dummy data on my local. I am making this recommendations considering you do not have any index...
Read more >
Bug with Data Action together with start index & pagination
with an aggregate in a screen, you give it a startindex, and the platform makes sure that underwater the correct set of records...
Read more >
Optimising Server-Side Paging - Part I - SQLServerCentral
The problem is that SQL Server is fetching the off-index columns for every row it examines - not just the rows that will...
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