Data-Scrollable

From Documentation
Revision as of 06:54, 24 June 2015 by Hawk (talk | contribs)

data-scrollable="true"

if user scroll container widget which applies the data-scrollable attribute, the errorbox inside the container widget should also scroll[1].

 Since ZK 7.0.1
<div xmlns:ca="client/attribute">
<window height="100px" contentStyle="overflow:auto" ca:data-scrollable="true">
    <textbox constraint="no empty"/>
</window>
</div>


data-scrollable="false"

When a user swipes on the content of Listbox, Grid, Tree in a tablet device, the friendly scrollbar will appear. To disable the friendly scrollbar, please use the following setting[2].

 ZK EE tablet only
<div xmlns:ca="client/attribute">
<listbox xmlns:a="client/attribute" a:data-scrollable="false"/>
</div>


Last Update : 2015/06/24

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