Use Live Data and Paging"
From Documentation
Maya001122 (talk | contribs) 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 | + | 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
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.