org.zkoss.zul.grid.preloadSize"

From Documentation
m
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
'''Property:'''
 
'''Property:'''
 
  org.zkoss.zul.grid.preloadSize  
 
  org.zkoss.zul.grid.preloadSize  
 +
 +
{{NestedLibraryProperty}}
 +
 +
Default: 50
 +
[Since 6.0.1]
  
 
  Default: 7
 
  Default: 7
Line 7: Line 12:
  
 
Specifies the number of rows to preload when receiving the rendering request from the client.
 
Specifies the number of rows to preload when receiving the rendering request from the client.
It is used only if live data (<javadoc method="setModel(ListModel)">org.zkoss.zul.Grid</javadoc>) and not paging (<javadoc method="getPagingChild()">org.zkoss.zul.Grid</javadoc>).
+
It is used only for live data (<javadoc method="setModel(ListModel)">org.zkoss.zul.Grid</javadoc>) but not paging (<javadoc method="getPagingChild()">org.zkoss.zul.Grid</javadoc>).
  
 
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.
 
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.

Latest revision as of 10:05, 7 July 2016


org.zkoss.zul.grid.preloadSize


Property:

org.zkoss.zul.grid.preloadSize 
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-check-icon.png nested in a zul file via <custom-attributes>
Default: 50
[Since 6.0.1]
Default: 7
[Since 5.0.8]

Specifies the number of rows to preload when receiving the rendering request from the client. It is used only for live data (Grid.setModel(ListModel)) but not paging (Grid.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.

<grid>
  <custom-attributes org.zkoss.zul.grid.preloadSize="10"/>
...

Version History

Last Update : 2016/07/07


Version Date Content
5.0.8 June 2011 Deprecated setPreloadSize, instead with a custom attributes "org.zkoss.zul.grid.preloadSize".


Last Update : 2016/07/07

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