<div class="row">
<table id="jqGridTable" ></table><div id="jqGridTablePager"></div>
</div>
<script type="text/javascript">
var grid = [
{"hidden":true,"align":"left","sortable":true,"name":"ID","resizable":true,"label":"id"},
{"hidden":false,"align":"left","sortable":false,"name":"ZYMC","resizable":true,"label":"专业"},
{"hidden":false,"align":"left","sortable":false,"name":"LQ_ZRS","resizable":true,"label":"录取人数"},
{"hidden":false,"align":"left","sortable":false,"name":"LQ_ZD_ZRS","resizable":true,"label":"走读人数"},
{"hidden":false,"align":"left","sortable":false,"name":"LQ_ZS_ZRS","resizable":true,"label":"需要住宿"}
];
var jqGridTable1 =null;
var M={
resize:function(){
$(".J_containerWarp").height($(window).height());
$(".J_containerWarp").niceScroll({});
var width = $("#jqGridWarp").width();
$("#jqGridTable").setGridWidth(width-2);
$("#jqGridTable").setGridHeight($(window).height()-100);
},
init2:function(){
jqGridTable1 = new myJqGrid({url:"${request.contextPath}/statistics/v1/stayNeedAnalyze",colModel:grid,multiselect:false,heightMinus: 35,widthMinus:10});
jqGridTable1.createJqGrid();
}
};
window.onload=window.onresize=function(){
M.init2();
M.resize();
}
</script>