PDA

View Full Version : how to handle end of scroll event



tirupathi
21 Nov 2013, 1:18 AM
dear friends, I am setting autoScroll:true in panel and an img tag html element to the same panel.

I am able to handle the scroll event, but refreshment problems are occuring , due to many calls to the handler function with one scroll attempt.

Here my requirement is that, I want to do some stuff after the scroll completion only, how can i do it. Thanking you.

Refreshment problem can be produced by adding alert("") in the scroll event handler function.
my code is

listeners:{
render: function(p){
p.body.on('scroll',function(){
alert("test");//here i want to add my stuff.
},p);
}
}

slemmon
22 Nov 2013, 11:19 PM
See if the below example helps you:

1p1