怎样将TABLE中的一列隐藏

来源:互联网 发布:tia博途软件下载 编辑:程序博客网 时间:2024/06/04 23:31

JSP页面

<table align="center" border="2">
<thead>
<th style="display:none">功能键的id</th>
<th>功能键的名称</th>
<th>编辑</th>
<th>删除</th>
<th>备注</th>
<th>更新者</th>
<th>更新时间</th>
</thead>

<s:iterator value="#request.datalist" status="varStatus" id="list">
<tr>
<td style="display:none"><s:property value="#list.MMstHomeCareId"/></td>
<td><s:property value="#list.homeCareName"/></td>
<td><a href="#"onclick="showEditDialog(event)">编辑</a></td>
<td><a  href="bpDeleteHomeCare.action?updateUserId=<s:property value="#list.updateUserId"/>&homecareid=<s:property value="#list.MMstHomeCareId"/>&memo=<s:property value="#list.memo"/>" onclick="return confirm('是否确定删除?')">删除</a></td>
<td><s:property value="#list.memo"/></td>
<td><s:property value="#list.username"/></td>
<td><s:property value="#list.updateDate"/></td>
</tr>
</s:iterator>
</table>