Use Live Data and Paging for Large List Boxes

From Documentation
DocumentationZK Developer's GuideAdvanced ZKPerformance TipsUse Live Data and Paging for Large List Boxes
Use Live Data and Paging for Large List Boxes


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 : 2012/02/13

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