Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

unable to move the scroll bar by default to some position

$
0
0
Scrollbar which is starting from the starting position by default, I want to move this scrollbar to some position other than the starting position by default like this scroll bar should have some distance between it and start position of bar.
I am using below software to build my app.
1. smartgwt3.0 version
2. GWT 2.4 version
2. IE8

below is the code

HTMLPane htmlPane = new HTMLPane();
htmlPane.setShowEdges(true);
htmlPane.setLeft(1000);
htmlPane.scrollTo(555, 100);
htmlPane.scrollBy(300, 0);
htmlPane.setContentsURL(ContentsType.PAGE);

private VLayout chartLayout
chartLayout.addMember(htmlPane);

problem here is, the code is not able to move by using any of the method setLeft , scrollTo , scrollBy

Viewing all articles
Browse latest Browse all 4756

Trending Articles