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
pagination issue for ajax based tables #48
Comments
Please create a jsfiddle with your code for me! I think you migth have an issue in your code. |
Appreciate the prompt response! I am using a Codeigniter as a backend and I am not sure how I can jsfiddle it for you. Like I said the problem is the the prev and next links. << (<) 1 2 3 (>) >>. The server-side processing pretty much returns a JSON as specified in the Documentation. Can you please see if you can recreate the issue or perhaps share the server-side code used in the examples. |
Please have a look at the this pull request. It solved my problem. |
Could you please provide me your exact JSON response. I guess the Right: {
"current": 1,
...
} Wrong: {
"current": "1",
...
} I hope this is going to help you. |
You are most definitely right but server side response should be parsed to an Integer value before being used by the plugin. Can you please check this pull request and merge in the integer parsing. I think this would make it a full proof solution. |
If you want to use it that way, you could use the |
i try v1.3.1 to use server-side ,But this Issue not Fixed!!! :( |
At the library jquery.bootgrid.js, you need to change two few lines: change it to: |
biglidio that it work. |
The current post variable is not the same for next/prev links and the page number links. Clicking page 2 results in sending current variable as 2 (which is ok) but when clicking next link while on page 1 results in sending 11. This makes server-side processing impossible since we have 2 different values 2 and 11. Can you please fix this.
The text was updated successfully, but these errors were encountered: