org.zkoss.zul.tree.maxRodPageSize"

From Documentation
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''Property:'''
 
'''Property:'''
 
  org.zkoss.zul.tree.maxRodPageSize
 
  org.zkoss.zul.tree.maxRodPageSize
 +
 +
{{NestedLibraryProperty}}
  
 
  Default: 1
 
  Default: 1
  
[Since 7.0.0]
+
{{versionSince |7.0.0}}
{{ZK EE}}
+
{{ZK EE}}
  
Specifies the maximal number of the page size that keeps the items rendered when user navigating the paging.
+
Specifies how many pages (of treeitems) to keep rendered in memory (on the server side) when navigating the tree using pagination.
 
It is used only if live data (<javadoc method="setModel(org.zkoss.zul.TreeModel)">org.zkoss.zul.Tree</javadoc>) and in paging mold (<javadoc method="getPagingChild()">org.zkoss.zul.Tree</javadoc>).
 
It is used only if live data (<javadoc method="setModel(org.zkoss.zul.TreeModel)">org.zkoss.zul.Tree</javadoc>) and in paging mold (<javadoc method="getPagingChild()">org.zkoss.zul.Tree</javadoc>).
  

Latest revision as of 08:31, 17 November 2022


org.zkoss.zul.tree.maxRodPageSize


Property:

org.zkoss.zul.tree.maxRodPageSize
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: 1

Since 7.0.0

  • Available for ZK:
  • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png

Specifies how many pages (of treeitems) to keep rendered in memory (on the server side) when navigating the tree using pagination. It is used only if live data (Tree.setModel(TreeModel)) and in paging mold (Tree.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.

<tree>
  <custom-attributes org.zkoss.zul.tree.maxRodPageSize="5"/>
...

Version History

Last Update : 2022/11/17


Version Date Content
7.0.0 August 2013 ZK-1898-Tree support render on demand


Last Update : 2022/11/17

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