0

Freeze Column/Row Headers

asked 2009-01-26 18:44:24 +0800

dastultz gravatar image dastultz
797 9

Hello, I have a very large table (grid/listbox) that is larger than the average browser window. Is there any equivalent solution in Zk to what Excel allows where you can freeze the first row and/or column and scroll through the rest of the table (so you can identify what item you are looking at)?

Thanks.
/Daryl

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-02-02 00:52:14 +0800

PeterKuo gravatar image PeterKuo
481 2

ZK component grid/listbox doesn't have built in feature as you like.
But ZK Spreadsheet component does have freeze feature.

You may implement your own zk component extend from grid/listbox to meet your need.
Or, use 2 grid/listbox to simulate the freeze feature.

link publish delete flag offensive edit

answered 2010-05-07 03:39:41 +0800

rappr gravatar image rappr
48

Hello PeterKuo

I have the same problem.
I use 2 listboxes to simulate that feature, but the page is longer than the browsers height and so the listboxes have vertical scrollbars.
It is possible to synchronize both scrollbars of the listboxes if the user scrolls down?

Thanks, Ralf

link publish delete flag offensive edit

answered 2010-05-07 05:53:56 +0800

PeterKuo gravatar image PeterKuo
481 2

You may refer to:
http://docs.zkoss.org/wiki/Client_Side_Programming

I am afraid there is no pure java solution for your purpose.

link publish delete flag offensive edit

answered 2010-05-07 07:19:17 +0800

rappr gravatar image rappr
48

updated 2010-05-07 07:20:40 +0800

Hello PeterKuo,

thank for you reply. I'll check that out.
could you please take a look at my other question: http://www.zkoss.org/forum/listComment/12316
There I want to scroll two listboxes at the same time.

Ralf

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: 2009-01-26 18:44:24 +0800

Seen: 999 times

Last updated: May 07 '10

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