Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Aug 02, 2009 20:40
open dhtmlx forum
horizontal scrollbar event

Hii I have a question,
i have a grid with some columns (in column is a day), when i take horizontal scrollbar then grid have to load data again.
So how can i do?
Answer posted by dhxSupport on Aug 03, 2009 05:42
You can use "onScroll" event. This event occurs immediately after scrolling took place. onScroll event passes the following parameters: 
sLeft - scroll left;
sTop - scroll top.
  grid.attachEvent("onScroll", function(sLeft,sTop){});