We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I set it to custom number, but it's shows me all data from my JSON file my code:
var container = $('#list'); container.pagination({ dataSource: './db.json', locator: "data", pageSize: 3, totalNumberLocator: function(response) { return response.data.length }, callback: function(data, pagination) { var html = '<ul>'; $.each(data, function(key, value) { html += `<li>${value.title}</li> ` }) html += '</ul>'; container.prev().html(html); } })
The text was updated successfully, but these errors were encountered:
Why is this closed? Still not working. Having the same issue
Sorry, something went wrong.
I solved this by calling dataSource with getJSON or Ajax.
Example
jQuery.getJSON('https://******.it/query/filtering?type=value', function(d) { data(d); });
No branches or pull requests
I set it to custom number, but it's shows me all data from my JSON file
my code:
The text was updated successfully, but these errors were encountered: