Listbox"
From Documentation
Jumperchen (talk | contribs) (Created page with "{{ZKComponentReferencePageHeader}} = Listbox = *Component Reference: Listbox *[http://www.zkoss.org/product/edition.dsp Available in ZK ...") |
m (correct highlight (via JWB)) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 11: | Line 11: | ||
[[File:Listbox_Tablet_Example.png]] | [[File:Listbox_Tablet_Example.png]] | ||
− | '''Note:''' to disable the friendly scrollbar, please use the following setting. | + | '''Note 1:''' to disable the friendly scrollbar, please use the following setting. |
− | <source lang="xml" | + | <source lang="xml" highlight="1"> |
<listbox xmlns:a="client/attribute" a:data-scrollable="false"/> | <listbox xmlns:a="client/attribute" a:data-scrollable="false"/> | ||
+ | </source> | ||
+ | '''Note 2:''' to make sure the friendly scrollbar works correctly when containing images inside listcell, please add image preload attribute as follows. | ||
+ | <source lang="xml" highlight="2"> | ||
+ | <listbox> | ||
+ | <custom-attributes org.zkoss.zul.image.preload="true"/> | ||
+ | </listbox> | ||
</source> | </source> | ||
= Version History= | = Version History= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- | ||
| 6.5.0 | | 6.5.0 | ||
| July, 2012 | | July, 2012 | ||
− | | [http://tracker.zkoss.org/browse/ | + | | [http://tracker.zkoss.org/browse/ZK-1239 Grid, Listbox, Tree can support to scroll the content by finger on tablet/mobile device] |
|} | |} | ||
{{ZKComponentReferencePageFooter}} | {{ZKComponentReferencePageFooter}} |
Latest revision as of 08:50, 19 January 2022
Listbox
- Component Reference: Listbox
- Available in ZK EE only
Friendly Scrolling Support
When user swipe on the content of Listbox, the friendly scrollbar will appear.
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 |