PDA

View Full Version : xtype listpaging



kevinv1990
17 Apr 2011, 2:37 AM
Hey all,

I want to use the "load more" function of this plugin. Now I want to load tweets, I know there is an example of this (the twitter example in 1.1), but it all seems very strange.

In the API DOC they say that I can use the: refreshFn: parameter, but I can't make this work.

Does someone know how I can use this function to load more data in my twitter store?

Pseudo code would look like:

refreshFn: function start
check current results
if less than 90 or equal
load the twitter store with parameter max result is 10 more than last time,
else
show max twitter results reached.
function end

Any chance someone can show me this function? Must I use the refreshFn property?

Greetz, Kevin