org.zkoss.zul.listbox.responsive.columns
Property:
org.zkoss.zul.listbox.responsive.columns
-
globally in
zk.xmlvia<library-property> -
nested in a zul file via
<custom-attribute>
Default: unset (the client uses sm-1 md-none)
since 11.0.0
Sets the default responsiveColumns of the listboxes that do not set responsiveColumns themselves. The value is a whitespace-separated list of tokens in the form <breakpoint>-<value>:
<breakpoint>is one ofsm,md,lgorxl.<value>is either the number of cards per row, ornoneto show a table from that breakpoint up.
For example, the following value shows two cards per row below the md breakpoint and a table from md up:
<library-property>
<name>org.zkoss.zul.listbox.responsive.columns</name>
<value>sm-2 md-none</value>
</library-property>
When the property is unset, the client uses the default sm-1 md-none. The client ignores invalid tokens silently. If no token gives a number of cards and the sm breakpoint is missing, the client also uses the default.
This property has no effect unless stacking is enabled, either by org.zkoss.zul.listbox.responsive or by the listbox’s own responsive attribute.
Stacking itself is provided by ZK EE (zkmax).