Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line number of remote mode reset when sorting #885

Closed
1 task done
qwerty7415963 opened this issue Sep 14, 2021 · 1 comment
Closed
1 task done

line number of remote mode reset when sorting #885

qwerty7415963 opened this issue Sep 14, 2021 · 1 comment

Comments

@qwerty7415963
Copy link

qwerty7415963 commented Sep 14, 2021

Issue Type (delete the irrelevant ones)

  • Question

Specs

What version are you using?
2.21.10

What browser?
Chorme

Expected Behavior

when I click the sort button line number keeps the same as the setCurrentPage (21-40 ,current page: 2)

Actual Behavior

the line number reset to 1-20 on page 2

Steps to Reproduce the Problem

1 .click the sort icon
2. fetching data from api
3. here is the result
image

@xaksis
Copy link
Owner

xaksis commented Sep 29, 2021

Hey @qwerty7415963, this is by design and standard for most sortable tables. When you're on a given page and hit sort, it shouldn't just sort that page, but the entire table of data. The user should see the sort beginning from the start, whether ascending or descending.
closing.

@xaksis xaksis closed this as completed Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants