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 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"/>
             <column>Frozen Column</column>
             <column>Column 1</column>
             <column>Column 2</column>
                 <label value="A" />
                 <label value="B" />
                 <label value="C" />

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

2 Answers

Sort by ยป oldest newest most voted

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

eoikonomou gravatar image eoikonomou

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

answered 2021-12-03 00:43:19 +0800

LuigiFabbri gravatar image LuigiFabbri
46 5

updated 2021-12-03 00:44:29 +0800

I solved this problem with this css :

.fixed_cols .z-frozen {

height: 0px !important;


.fixed_cols .z-grid-body {

overflow: auto !important;


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




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

Seen: 48 times

Last updated: Dec 03 '21

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