Thanks for explaining it, it means it's just a zk version.
davidwiston ( 2018-01-02 15:02:45 +0800 )edit-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'm having trouble using frozen on my listbox. too much space. how to limit it
<listbox id="listbox" height="300px" sizedByContent="true"
emptyMessage="No items match your search"
tooltiptext="Double Click to View Detail" >
<frozen columns="3"/>
<listhead sizable="true">
<listheader label="Id" visible="false" />
<listheader label="Item Id" visible="false" />
<listheader label="Item Code" width="70px" visible="true" />
<listheader label="Item Description" width="300px" visible="true" />
<listheader label="Created Date" width="150px" visible="true" />
<listheader label="Created By" width="150px" visible="true" />
<listheader label="Terminated Date" width="150px" visible="true" />
<listheader label="Terminated By" width="150px" visible="true" />
<listheader label="UOM" visible="true" />
<listheader label="Composition" visible="true" />
<listheader label="Default" visible="true" />
</listhead>
<frozen columns="3"/>
<template name="model">
<listitem>
</listitem>
</template>
</listbox>
</div>
Thanks for the image... it shows the correct and intended behavior of the frozen component.
On the lower left the non-scrollable columns don't have a scrollbar so there's nothing to display.
At the top right you see the space becoming available when scrolling the right. When there are no more columns there's nothing to display either. What would you like to see there instead?
When using ZK 8.5 EE, there is an alternative smooth frozen implementation that behaves differently as you can check out in our demo.
Thanks for explaining it, it means it's just a zk version.
davidwiston ( 2018-01-02 15:02:45 +0800 )editAsked: 2017-12-22 18:18:18 +0800
Seen: 22 times
Last updated: Jan 02 '18
I tried your example here http://zkfiddle.org/sample/2pk162l/1-frozen-listbox using 8.5.0, 8.0.5, 8.0.3, 7.0.5. I didn't see any spacing problem. Can you please state your ZK version and add what's missing to show your problem?
cor3000 ( 2017-12-25 09:48:06 +0800 )edita screenshot would help (uploading permission granted)
hawk ( 2018-01-02 09:42:59 +0800 )edit