rowRequestHandler.cancel();
+ // fix headers horizontal scrolling
+ System.out.println("scrolling header to " + scrollLeft);
+ headerContainer.setHorizontalScrollPosition(scrollLeft);
+
+
firstRowInViewPort = (int) Math.ceil( scrollTop / tBody.getRowHeight() );
client.console.log("At scrolltop: " + scrollTop + " At row " + firstRowInViewPort);
rowRequestHandler.setReqRows((int) ((firstRowInViewPort + pageLength + pageLength*CACHE_RATE) - lastRendered));
rowRequestHandler.deferRowFetch();
}
+
}
if(width < 0) {
bodyContainer.setWidth((tBody.getOffsetWidth() + getScrollBarWidth() ) + "px");
+ headerContainer.setWidth((tBody.getOffsetWidth()) + "px");
} else {
bodyContainer.setWidth(width + "px");
+ headerContainer.setWidth(width + "px");
}
if(firstvisible > 0)