returns the current position of scrolls
var state = $$('mytable').getScrollState(); alert(state.x); //position of x-scroll alert(state.y); //position of y-scroll