Use Live Data and Paging
From Documentation
Revision as of 11:14, 9 March 2011 by Tomyeh (talk | contribs) (moved ZK Developer's Reference/Performance Tips/Use Live Data and Paging for Large Grid and Listbox to ZK Developer's Reference/Performance Tips/Listbox, Grid and Tree for Huge Data/Use Live Data and Paging)
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 |
---|---|---|