When using the ListPaging plugin, how do you set the total number of records or signal to the plugin that all records have been loaded?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Returning the variable “total” with my json feed is all i needed to do. if i were returning an array of names [“bob”,”jim”,”mark”], i need to return {“names”:[…], “total”: 3} then set my rootProperty to “names” in the reader property of my store’s proxy.
http://docs.sencha.com/touch/2-0/#!/api/Ext.data.reader.Json-cfg-rootProperty