-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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.
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
I solved this problem with this css :
.fixed_cols .z-frozen {
height: 0px !important;
}
.fixed_cols .z-grid-body {
overflow: auto !important;
}
Asked: 2013-03-28 21:24:24 +0800
Seen: 48 times
Last updated: Dec 03 '21
adding a menuitem with image on Menubar
can somebody give the use of imagecontent in menuitem ? [closed]
label in org.zkoss.zul.Messagebox must be middle aligned [closed]
Component with independents columns
ZK ComboBox constraint firing on getSelectIndex()
Problems with visible/invisible grids using flex
A container should have a disable attribute.
Video inside: Processing... not translated to set org.zkoss.web.preferred.locale in zk.xml
enhancement needed in scrolling tab in tabbox using javacode