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?

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){});