Pagination and Dynamic total variable
Hello,
I used this tutorial to add pagination to my app
http://devcenter.appery.io/tutorials/...
It worked great, but I'd like to be able to set the 'total' variable dynamically based on the number of records in my database.
localStorage.setItem('total', 3); <-- I want the 3 to be dynamic
Do you have any direction on how to set that number to be dynamic?
Thank you,
John