HCY777
2015-12-17 12:17easyUI treegrid 加了一列radio button 怎么获取radio的值?
<th data-options="field:'orgtype',width:80,formatter:formatP">类型</th>
function formatP(value){
var s = '<input type="radio" value="1">分行'+
'<input type="radio" value="2">支行'+
'<input type="radio" value="3">网点';
return s;
}
t.treegrid('endEdit', editingId);
var row = t.treegrid('getSelected');
var url = "/ABC/orgUnitPriceMain?flagS=" + flagS;
if (row) {
$.post(url, {
id : row.id,
code : row.code,
orgname : row.orgname,
price : row.price,
parentName : row.parentName,
orgtype : row.orgtype
}
})
}
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- easyUI treegrid 加了一列radio,怎么让radio被默认选中
- easyui
- treegrid
- radio button
- 4个回答
- easyUI treegrid 加了一列radio button 怎么获取radio的值?
- radio button
- treegrid
- easyui
- 1个回答