org.zkoss.zul.daterangebox.numberOfMonths.max
Property:
org.zkoss.zul.daterangebox.numberOfMonths.max
Applicable:
-
globally in
zk.xmlvia<library-property> -
not as
<custom-attribute>
Default: 12
since 11.0.0
Sets the largest value that numberOfMonths can take in the application. Use it when a Daterangebox needs wider panels, for example an 18-month travel picker. The value must be an integer from 1 to 24. The framework caps the popup at 24 panels, so a larger value is refused.
A value outside that range, or a value that is not an integer, is ignored with a warning in the server log, and the default 12 is used.
<library-property>
<name>org.zkoss.zul.daterangebox.numberOfMonths.max</name>
<value>18</value>
</library-property>