on 04-08-2015 8:12 AM
Hi,
How can i control scroll bar position for a sap.m.page. That is on click of a button, the page should be scrolled to top.
I tried using "page.scrollTo(10,0)", but didn't work.
Please correct me if m wrong.
Thanks,
Ravikiran
try using
page.scrollTo(-10,1)
I think positive value for scrolling down. and negative value for scrolling up
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.