0

Auto scroll in the browser when dragging

asked 2014-07-09 11:08:43 +0800

Macadoshis gravatar image Macadoshis flag of France
39
http://about.me/saad.benb...

0 down vote favorite

Hello,

I am using ZK 6.5 and I have a huge grid (more or less like a planning) I need to drag-and-drop labels in the cells of the grid.

If my grid has a lot of rows and a label has to be moved from the first line to the last one, I would be great to have a "autoscroll of the page in the browser” when I drop it...

I had read a lot of tuto/docs but I found nothing.

Any idea ?

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-08-23 19:29:30 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Macadoshis,

After searching the issue I found out this interesting post:

http://forum.zkoss.org/question/14687/how-to-auto-scroll-listbox-scrolling-bottom/

Another option would be to add a javascript to your zul page in order to auto-scroll.

Please look the link below for more information:

http://www.mediacollege.com/internet/javascript/page/scroll.html

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
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
2 followers

RSS

Stats

Asked: 2014-07-09 11:08:43 +0800

Seen: 12 times

Last updated: Aug 23 '14

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