解决方案 »

  1.   

    后台查询的 list数据data  listbox.setModel(new ListModelList<OBJECT>(data)) 然后页面用
       <template name="model">
    <listitem>
    <listcell label="${each.a}"></listcell>
    <listcell label="${each.b}"></listcell>
    <listcell>$<label value="${each.v}" /></listcell>
    ...
                                      ...

    </listitem> </template>或者后台查询的数据 data<listbox id="ListBox" mold="paging" pageSize="5" vflex="2" check="true"
    model="@{userWindow$composer.users}"  pagingPosition="bottom">
    <listhead sizable="true">
    <listheader label="用户ID" sort="auto(id)" />
    <listheader label="用户名称" sort="auto(name)" />
    </listhead> <listitem self="@{each=member}" >
    <listcell label="@{member.id}" />
    <listcell label="@{member.name}" />
    </listitem>

    </listbox>