on 2005 Jul 28 7:25 AM
Hi
I am on Ep6 sp2
I have a scrollContainer on a HTMLB form. On server side events after the page refresh
the page is scrolled to the top of the page. Setting setScrollingToLastPosition does
not work with a scrollContainer.
How can I scroll to last position within the scrollcontainer?
Hi Dirk,
Try and have a look to this link.
<b>https://media.sdn.sap.com/javadocs/NW04/SP9/htmlb/com/sapportals/htmlb/ScrollContainer.html#setVerticalScrollPosition(int)</b>
Try these functions in the order:
<b>setReturnsScrollPosition</b>- enable the feature to return the scrolling position
<b>getVerticalScrollPosition</b>- get the vertical scrolling position of this scrollContainer.
<b>setVerticalScrollPosition</b>- set the vertical scrolling position of this scrollContainer.
Similarly you can do for Horizontal Scroll positions if you want to set for Horizontal positions.
I Hope this help's you.
Regards
Pravesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.