<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":"專業(yè)"},
???{"hidden":false,"align":"left","sortable":false,"name":"LQ_ZRS","resizable":true,"label":"錄取人數(shù)"},
???{"hidden":false,"align":"left","sortable":false,"name":"LQ_ZD_ZRS","resizable":true,"label":"走讀人數(shù)"},
???{"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>
jqgrid模板列合計(jì)
qq_萬(wàn)小樂(lè)_0
2019-01-08 11:10:04