Grid: Infinite Scrolling - How should be the remote JSON?
I'm fighting against a LVL 87 infinite scrolling grid and I don't know how to face what I think is the easiest problem.
In the example I see: http://www.sencha.com/forum/topics-remote.php
Ok, that's cool, but when I'm going to write my own JSON feed how should it be in order to page the items? because in the link of the example I can't see more than 10 different items but then it renders 7000.
How should I do my JSON? I was trying adding ?page=X to the demo feed to see if it changes page. I don't know how should it work internally my JSON feed to page the items.
So, to recapitulate: what should I do in my .php page that returns the JSON feed? add a parameter called somewhat that renders the different pages? I don't understand how to face this!!
Thank you very much four your help!!
I just figured it out that I need to implement the start and limit parameters in my json output in order to be compatible with the infinite scrolling grid.
Tags for this Thread