viewportLayer.setOriginX(viewportLayer
.getStartXOfColumnPosition(gridColumnPosition));
}
public void scrollToRow(int gridRowPosition) {
DummyGridLayerStack gridLayer = (DummyGridLayerStack) getUnderlyingLayerByPosition(
1, 1);
ViewportLayer viewportLayer = gridLayer.getBodyLayer()
.getViewportLayer();
viewportLayer.invalidateVerticalStructure();
viewportLayer.setOriginY(viewportLayer
.getStartYOfRowPosition(gridRowPosition));
}