0

keikai - spreadsheet-how to scroll to required cell programatically??

asked 2020-10-22 19:58:37 +0800

wastemails gravatar image wastemails
30

How to scroll to required cell progamatically in keikai spreadsheet??

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest
link publish delete flag offensive edit

answered 2020-10-24 14:14:25 +0800

wastemails gravatar image wastemails
30

spreadsheet.focusTo(100,20) is just focusing to that particular cell whereas the cell is located far below the visible area. I need to focus and automatically scroll to that cell and make visible.

link publish delete flag offensive edit

answered 2020-10-26 14:05:29 +0800

hawk gravatar image hawk
2690 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2020-10-26 14:21:08 +0800

focusTo() will scroll the specified cell to the visible area. But there is a bug https://tracker.zkoss.org/browse/KEIKAI-365 at 5.4.0, fixed at 5.5.0. Do you encounter this bug case?

If you call it in doAfterCompose(), it doesn't work. It still works, when you call it in an event listener.

You can try the latest freshly 5.5.0.FL.20201023-Eval

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

RSS

Stats

Asked: 2020-10-22 19:58:37 +0800

Seen: 9 times

Last updated: Oct 26

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