Use Live Data and Paging"

From Documentation
m (Created page with '{{ZKDevelopersGuidePageHeader}} Sending out a list box with a lot of items to the client is expensive. In addition, the JavaScript engine of the browser is not good for initiali…')
 
Line 5: Line 5:
 
The performance will be improved more if you also use the paging mold.
 
The performance will be improved more if you also use the paging mold.
  
Refer to the '''List Boxes''' section in the '''ZUML with the XUL Component Set''' chapter for more details.
+
Refer to the '''List Boxes''' section in the [http://books.zkoss.org/wiki/ZK_Component_Reference ZK Component Reference] chapter for more details.
  
  
 
{{ ZKDevelopersGuidePageFooter}}
 
{{ ZKDevelopersGuidePageFooter}}

Revision as of 07:48, 20 July 2010

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


Sending out a list box with a lot of items to the client is expensive. In addition, the JavaScript engine of the browser is not good for initializing a list box with a lot of items. A better solution is to use the live data, i.e., by assigning a list model to it. Then, the list items are sent to the client only if they become visible.

The performance will be improved more if you also use the paging mold.

Refer to the List Boxes section in the ZK Component Reference chapter for more details.



Last Update : 2010/07/20

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