Use Live Data and Paging

From Documentation
Revision as of 06:18, 16 July 2010 by Maya001122 (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 ZUML with the XUL Component Set chapter for more details.



Last Update : 2010/07/16

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