datagrid选中行传id到编辑页,获取不到行id值?

提问 已结 5 5018
悬赏:20飞吻
 <div data-toggle="topjui-layout" data-options="fit:true">
<div data-options="region:'center',title:'',fit:true,split:true,border:false">
<!-- datagrid表格 -->
<table data-toggle="topjui-datagrid"
data-options="id: 'demandDg',
fitColumns:false,
url: '/nc/demand/List'">
<thead>
<tr>
<th data-options="field:'id',title:'',checkbox:true"></th>
<th data-options="field:'DemandNo',title:'任务编码'"></th>
<th data-options="field:'DemandName',title:'任务名称',width:200"></th>
<th data-options="field:'DemandType',title:'任务类型'"></th>
<th data-options="field:'DemandFrom',title:'任务来源'"></th>
<th data-options="field:'AttachUrl',title:'附件'"></th>
<th data-options="field:'CreateUserName',title:'创建者'"></th>
<th data-options="field:'DemandNo',title:'接收者'"></th>
<th data-options="field:'DemandNo',title:'验证者'"></th>
<th data-options="field:'EndDate',title:'完成期限'"></th>
<th data-options="field:'State',title:'任务状态'"></th>
<th data-options="field:'CreateDate',title:'创建日期'"></th>
</tr>
</thead>
</table>
</div>
</div>

传过去的id值 是undifined。
回帖
回帖须知