0

Maintain Scroll Position OnPostback

asked 2013-06-05 14:22:54 +0800

rickybaker gravatar image rickybaker
25 1

Using ZK zul how do I Maintain Scroll Position OnPostback.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2013-06-05 16:55:51 +0800

rickybaker gravatar image rickybaker
25 1

i found a way to find the X and Y and the force it to scroll to it

Clients.scrollTo( evt.pageX.toString().toInteger()), evt.pageY.toString().toInteger())

I put this after I have re-drawn the grid

link publish delete flag offensive edit

answered 2013-06-05 17:04:24 +0800

rickybaker gravatar image rickybaker
25 1

if I use zero in the Y the it works like I want

Clients.scrollBy(evt.pageX.toString().toInteger(), 0)

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-06-05 14:22:54 +0800

Seen: 33 times

Last updated: Jun 05 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More