org.zkoss.zul.listbox.preloadSize
Property:
org.zkoss.zul.listbox.preloadSize
Default: 50
[Since 6.0.1]
Default: 7
[Since 5.0.8]
Specifies the number of items to preload when receiving the rendering request from the client. It is used only if live data (org.zkoss.zul.Listbox#setModel(ListModel)) and not paging (org.zkoss.zul.Listbox#getPagingChild()).
If you prefer to configure a particular component, you could specify it as the custom attribute of the component or any of its ancestor components.
<listbox>
<custom-attributes org.zkoss.zul.listbox.preloadSize="10"/>
...
Version History
Version | Date | Content |
---|---|---|
5.0.8 | June 2011 | Deprecated setPreloadSize, instead with a custom attributes “org.zkoss.zul.listbox.preloadSize”. |