ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Resizing problems listbox with paging 3.0.*

admin
27 Mar 2008 19:32:41 GMT
27 Mar 2008 19:32:41 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4867911

By: german1c

Hi, we are testing listbox resizing of the headers, we have the following example , with a list with width 100% inside a window with a static width.

First we resize one of the header and a horizontal scroll appears, and listbox keeps inside the window, fine, but when we advance the page, the listbox scroll dissapear and the listbox get's out of the window avaliable space.
We have this problem in ie , in firefox works fine.

Thanks for your help

German Santana
Bogota , Colombia


Example code:

<window title="listbox demo" border="normal" width="300px">
<vbox>

<listbox width="100%" mold="paging" pageSize="4">
<listhead sizable="true">
<listheader label="name" sort="auto"/>
<listheader label="gender" sort="auto"/>
</listhead>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Mary"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="John"/>
<listcell label="MALE"/>
</listitem>
<listitem>
<listcell label="Jane"/>
<listcell label="FEMALE"/>
</listitem>
<listitem>
<listcell label="Henry"/>
<listcell label="MALE"/>
</listitem>
</listbox>
</vbox>
</window>


admin
28 Mar 2008 01:37:04 GMT
28 Mar 2008 01:37:04 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4868432

By: jebberwocky

It seems the browser limitation. Try add contentStyle="overflow:auto;position:relative" in window