easyui datagrid在行编辑状态下,如何实现给其他行数据赋值
<thead><tr><thdata-options="field:'SkuId',hidden:true">物料Id</th><thdata-options="fiel...
<thead>
<tr>
<th data-options="field:'SkuId',hidden:true">物料Id</th>
<th data-options="field:'Code',width:'100'">物料编码</th>
<th data-options="field:'Name',width:'150'">物料名称</th>
<th data-options="field:'EngLishname',width:'150'">物料名称</th>
<th data-options="field:'Model',width:'150'">型号</th>
<th data-options="field:'Unit',width:'60'">单位</th>
<th data-options="field:'Number',width:'60',editor:{type:'numberbox',options:{
precision:5
}}">数量</th>
<th data-options="field:'Balance',width:'100',precision:5">结存</th>
<th data-options="field:'ProjectId',width:'150',editor:{type:'combobox',options:{
editable:false,
url:'/projects/AsDataSource',
valueField:'Id',
textField:'Name'
}},formatter:function(value, row, index){
return row.ProjectName;
}">项目</th>
<th data-options="field:'Device',width:'100',editor:'text',
">设备</th>
<th data-options= "field:'KC',width:'100',editor:{type:'combobox',options:{
editable:false,
url:'/DeliveryOrders/skuDataSourse',
valueField:'Id',
textField:'Name'
}},formatter:function(value, row, index){
return row.KC;2
}">库存</th>
<th data-options="field:'Comments',width:'100',editor:'text'">备注</th>
<th data-options="field:'Types',width:'100',hidden:true ">Types</th>
</tr>
</thead>
<tbody>
</tbody>
</table> 展开
<tr>
<th data-options="field:'SkuId',hidden:true">物料Id</th>
<th data-options="field:'Code',width:'100'">物料编码</th>
<th data-options="field:'Name',width:'150'">物料名称</th>
<th data-options="field:'EngLishname',width:'150'">物料名称</th>
<th data-options="field:'Model',width:'150'">型号</th>
<th data-options="field:'Unit',width:'60'">单位</th>
<th data-options="field:'Number',width:'60',editor:{type:'numberbox',options:{
precision:5
}}">数量</th>
<th data-options="field:'Balance',width:'100',precision:5">结存</th>
<th data-options="field:'ProjectId',width:'150',editor:{type:'combobox',options:{
editable:false,
url:'/projects/AsDataSource',
valueField:'Id',
textField:'Name'
}},formatter:function(value, row, index){
return row.ProjectName;
}">项目</th>
<th data-options="field:'Device',width:'100',editor:'text',
">设备</th>
<th data-options= "field:'KC',width:'100',editor:{type:'combobox',options:{
editable:false,
url:'/DeliveryOrders/skuDataSourse',
valueField:'Id',
textField:'Name'
}},formatter:function(value, row, index){
return row.KC;2
}">库存</th>
<th data-options="field:'Comments',width:'100',editor:'text'">备注</th>
<th data-options="field:'Types',width:'100',hidden:true ">Types</th>
</tr>
</thead>
<tbody>
</tbody>
</table> 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
1个回答
2015-07-27
展开全部
for (int i=length-1; i>=0; i--) {
String m = strNum[i];
strNum[i] = strNum[length-i];
strNum[length-i] = m;
System.out.print(str.charAt(i));
}
String m = strNum[i];
strNum[i] = strNum[length-i];
strNum[length-i] = m;
System.out.print(str.charAt(i));
}
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询