Use Live Data and Paging"

From Documentation
m
m
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 [http://books.zkoss.org/wiki/ZK_Component_Reference ZK Component Reference] chapter for more details.
+
Refer to the '''List Boxes''' section in the [[ZK_Component_Reference/Data/Listbox#Live_Data]] section for more details.
  
 
=Version History=
 
=Version History=

Revision as of 07:02, 21 December 2010

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/Data/Listbox#Live_Data section for more details.

Version History

Version Date Content
     



Last Update : 2010/12/21

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