当前位置: 代码迷 >> Web前端 >> DisplayTag中增多行号
  详细解决方案

DisplayTag中增多行号

热度:161   发布时间:2013-07-08 14:13:00.0
DisplayTag中增加行号
<display:table name="codeLists" id="codeLists" pagesize="25"  class="bluesky" style="width:90%">
    <display:column title="#">${codeLists_rowNum}</display:column>
    <display:column property="name"  sortable="true" maxLength="50" escapeXml="false" titleKey="codeList.name"/>
</display:table>


要注意的是codeLists_rowNum中的codeLists为table的id名称,当table的id和name不一样的时候就可以看出来