-
Notifications
You must be signed in to change notification settings - Fork 108
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
In Server-side pagination mode, the page number doesn't switch on view. #232
Comments
Could you provide more details? It will be better to have an online reproduction on |
Ok, let me try to put it on codesanbox. |
This is the link of the You can check the problem. I use JSON placeholder for this example |
Did you use Here is a demo you can refer to: https://codesandbox.io/s/server-side-paginate-and-sort-mif1nr?file=/src/App.vue:117-180 |
I solve it. But the problem, is that the EasyDataTable component don't totally update the serverOptions props inside itself So the try to re-render the component after the switching on new page and it worked. Thank you for your contribution. |
I encounter the same issue. Apart from the mock server, I'm followed the docs. Making use of |
@pzoechner If you are rendering |
@b1gdanhe |
I'm rendering |
@pzoechner Could you please provide demo code for reproduction? |
@pzoechner in practice, My Vue app send the request to my backend, and when I get the responses, I bind all necessary data and I increment one variable that I defined as key on the
After the request in the end of my watcher, I just do I also found help in this article about my rereading technique |
When I request the backend, the responses in ok and i update the servers options.
All things seen work good, but at next page the number of page doesn't change and at the end is not possible to come back to first page unless I reload the view
The text was updated successfully, but these errors were encountered: