jqgrid 自动换行
来源:互联网 发布:淘宝qq飞车包车 编辑:程序博客网 时间:2024/05/22 06:49
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" media="screen" href="jquery/jqgrid/css/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui/css/redmond/jquery-ui-1.8.16.custom.css" />
<script type="text/javascript" src="jquery/jquery-1.6.2.min.js"></script>
<script src="jquery/jqgrid/js/i18n/grid.locale-cn.js" type="text/javascript"></script>
<script type="text/javascript" src="jquery/jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script>
<script src="jquery/jqgrid/js/jquery.jqGrid.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("#detailAudit_grid").jqGrid({
url: 'getDetailData.action?id=${id}',
datatype: 'json',
altRows: true,
altclass: 'zebra-striped',
mtype:"GET",
colNames: ["名称", "描述"],
colModel: [
{name: 'key',index: 'key', width: 120, hidden: false, sortable: false},
{name: 'value',index: 'value', width: 310, hidden: false, sortable: false}
],
height: 219,
autowidth: true,
jsonReader:{
repeatitems : false
}
});
});
</script>
<style type="text/css">
.zebra-striped {
background: #efefff 50% 50% repeat-x;
}
</style>
<style>
html, body {
margin: 0;
padding: 0;
font-size: 100%;
}
</style>
<style>
.ui-jqgrid tr.jqgrow td {
white-space: normal !important;
height:auto;
vertical-align:text-top;
padding-top:2px;
}
</style>
<title>查看详情</title>
</head>
<body>
<div class="content">
<table id="detailAudit_grid"></table>
</div>
</body>
</html>
- jqgrid 单元格自动换行
- jqgrid 单元格自动换行
- jqgrid自动换行
- jqgrid 自动换行
- jqgrid列表自动换行
- jqgrid自动换行
- jqGrid自动换行 高度调整
- jqGrid实现表头自动换行
- JQGrid表头自动换行的办法
- JQuery的jqGrid表头自动换行
- JqGrid自动合计汇总
- JqGrid自动合计汇总
- 自动换行
- 自动换行
- 自动换行
- 自动换行
- 自动换行
- 自动换行
- 分词学习(3),基于ngram语言模型的n元分词
- How to handle CRM Error of "View not copied or enhanced with wizard; processing not possible"
- Android4.X 的SIM卡信息的初始化过程
- Python分词模块推荐:结巴中文分词
- 不可表示的数[x/2] + y + x * y(英雄会)
- jqgrid 自动换行
- Comparator<T> explaination
- web.xml 中的context-param 、listener、 filter、servlet 加载顺序及其详解
- struts2 select标签
- 常用内存数据库介绍(二)
- IOS 多线程 线程NSThread
- 常用内存数据库介绍(三)
- ScrollView子View为自定义View时需要注意的几点问题
- heuristic manner