参考:http://tsinglongwu.iteye.com/blog/849923

以下代码模拟数据量大时情况,采用“<paging>”组件方式

前台Listbox.zul :

<?page title="Listbox使用" contentType="text/html;charset=UTF-8"?>
<zk xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xmlns="http://www.zkoss.org/2005/zul" 
        xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul">
<window id="listboxWin" border="normal" apply="test.ListboxCtrl">
    <listbox id="listbox">
        <listhead sizable="true" >
            <listheader id="nameListHeader" label="姓名" align="center"/>
        </listhead>
    </listbox>
    <paging id="pagetest" pageSize="10" totalSize="50000" detailed="true"/>
</window>
</zk>
View Code

相关文章:

  • 2021-08-06
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
  • 2021-06-04
  • 2021-11-01
猜你喜欢
  • 2021-05-22
  • 2021-12-25
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案