+
 新版

zk列表怎么显示序号的问题???

jinger 发布于 2011/11/24 11:32
阅读 1K+
收藏 0
ZK

zk列表中,想让第一列显示序号,

<listbox  model="@{controller.pageModel}" >
			<listhead sizable="true">
				<listheader label="${c:l('label.no') }" sort="auto(resume.serialNumber)" onSort="controller.onSort(event)"></listheader>
				<listheader label="${c:l('candidate.resume.searialnumber') }" sort="auto(resume.serialNumber)" onSort="controller.onSort(event)"></listheader>
			</listhead>
			<listitem self="@{each=rec}" value="@{rec}">
				<listcell>
				        <label value="@{forEachStatus.index }" />
				</listcell>
				<listcell>
					<label value="@{rec.resume.serialNumber}" />
				</listcell>
			</listitem>
		</listbox>

<label value="@{forEachStatus.index }" />为什么不显示数据,使用时需要注意哪些问题吗?

如果这种方法行不通可以有其他方法吗

加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部