Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by udaya on Jun 18, 2008 06:46
open dhtmlx forum
Smart rendering

Is there any possible way where i can determine the event of moving the grid's scroll bar..For ex: we have an event for rowselection,headerselection.onberforeSorting etc...Similarly do we have any event to determine the scrollbar movement????
Answer posted by Support on Jun 18, 2008 09:27

There is a such event - onScroll

mygrid.attachEvent("onScroll",function(left,top){
//any custom code
});

Event receives new left and top position of scrolls. 
Returned value doesn't matter