Listbox

From Documentation

Listbox

Friendly Scrolling Support

When user swipe on the content of Listbox, the friendly scrollbar will appear.

Listbox Tablet Example.png

Note 1: to disable the friendly scrollbar, please use the following setting.

<listbox xmlns:a="client/attribute" a:data-scrollable="false"/>

Note 2: to make sure the friendly scrollbar works correctly when containing images inside listcell, please add image preload attribute as follows.

<listbox>
    <custom-attributes org.zkoss.zul.image.preload="true"/>
</listbox>

Version History

Version Date Content
6.5.0 July, 2012 Grid, Listbox, Tree can support to scroll the content by finger on tablet/mobile device


Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.