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 <[email protected]> wrote:
>
> 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 corresponding tree node. I know I need to use
> setScrollPosition, but I don't know how to figure out the parameter
> passed. In other words, how do I figure what's the position of each
> row in that grid ?? Can I get the size of rows ?
>
> I appreciate your help
> Ali
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---