子JSP页面
<table width="100%" id="viewDetailTable">
<thead>
<tr>
<th data-options="field:'obj_code'" style="width:40%;">工作包编号</th>
</tr>
</thead>
</table>
$(function() {
var $schcode = $("#toolbarLap_sch_code").combobox('getValue'); //从父jsp页面的input框中获取value值
var $techcode = $("#toolbarLap_jobtype").combobox('getValue');
var $TableName = $("#toolbarLap_calendar").combobox('getValue');
$('#viewDetailTable').datagrid({
url : "assemblePlan/StartqueryScheduleDataList1.do?sch_code=" //get请求方式,通过url传参数
+ $schcode + "&tech_code=" + $techcode,
method : 'get',
rownumbers: true,
pagination: true, //显示页码
pageSize : 10, //默认一页显示 10条数据
pageList : [10,20,30,40,50], //可选 的显示数据条数 的值
border : false,
nowrap : true,
fit : true,
si