0

Grid with frozen column shows unnecessary scrollbar

asked 2013-03-28 21:24:24 +0800

sunnyheinz gravatar image sunnyheinz
1 1

updated 2013-03-30 10:55:37 +0800

I implemented a grid with a frozen column with ZK 6.5.1.1. A horizontal scrollbar is shown even if the window is big enough to show all columns. The scroll area width seems to be almost twice of the grid width. Below a demo zul file:

<?page title="Demo"?>
<window title="Hello World!!" border="normal" width="100%" height="100%">
    <grid fixedLayout="false">
        <frozen columns="1"/>
        <columns>
             <column>Frozen Column</column>
             <column>Column 1</column>
             <column>Column 2</column>
        </columns>
        <rows>
             <row>
                 <label value="A" />
                 <label value="B" />
                 <label value="C" />
             </row>
        </rows>
    </grid>
</window>

How can I adjust the scroll area to the size of the grid?

Without freezing a column everything works as expected.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-11-17 17:08:35 +0800

eoikonomou gravatar image eoikonomou
1

Apparently it is a feature although it feels a bug.

As a reference below you can see a related issue with the dev team's answer. http://tracker.zkoss.org/browse/ZK-557

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
3 followers

RSS

Stats

Asked: 2013-03-28 21:24:24 +0800

Seen: 37 times

Last updated: Nov 17