怎样将TABLE中的一列隐藏
2013-03-15 14:38
232 查看
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>
<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>
相关文章推荐
- 在javascript中如何隐藏table的一列
- 怎样隐藏SQL SERVER中数据库的系统表
- GridView把主键列隐藏,即visible=false会取不到那一列的值
- html table 隐藏行tr
- VC调用word时,怎样才能隐藏word的某些菜单项
- NiceLabel中怎样隐藏打印对象?
- table显示边框问题,隐藏行线,列线
- Table是怎样炼成的:Table
- 怎样隐藏vim打开C语言后存在的~M后缀问题
- tableView 隐藏多余分割线,tableView分割线增加15像素
- easyUI的table表格怎么实现将每一行中某几列数据相加放入另一列
- 动态改变tableHeaderView的显示隐藏及高度
- iOS、Xcode监测键盘的显示和隐藏变化,并获得键盘高度,改变tableView的frame和偏移
- 显示和隐藏菜单栏(两种方式div、table)
- 怎样在Access和MS Sql Server中使一列字段自动编号增加(如 id int 主键 这一列自动增加)
- js进行操作table隐藏与显示查询
- 隐藏TableView中Cell与Cell之间的border
- 乱笔.................table控件,带一列合并
- CSS3 @media怎样控制div显示和隐藏
- 怎样在pb里实现无标题栏 如何使PB窗口总在最上层 显示或隐藏Windows的任务栏