Re: How to use setScrollPosition

2009-06-18 Thread Manik Chand
Hi Ali, I never used this method. but hope it will help you. go through this documentation of DOM' method i.e. scrollIntoView(Element). class DOM: - public static void scrollIntoView(Element elem) { elem.scrollIntoView(); } On Sat, May 23, 2009 at 5:30 AM, ali a.akhava...@gmail.com

How to use setscrollposition for scrollpanel?

2009-06-04 Thread Wooi
I try to work with the setscrollposition for scrollpanel. I simply set the scroll position to 50, and think that the scrollPanel will start to show the middle of the scrollPanel. The code is like below, ScrollPanel scrollPanel = new ScrollPanel(); scrollPanel.setSize(640px, 100px);

How to use setScrollPosition

2009-05-22 Thread ali
Hello! I have a scrollPanel that has a grid inside of it. The rows of the grid have different sizes. Now I have a tree whose nodes correspond to this grid. Each node corresponds to a row in the grid. Now I want the scrollpanel to move to the beginning of that cell if the user clikcs on its