在easyui中 如何在dialog中加载datagrid 50
先在dialog中加载datagrid,在datagrid中选中几条数据,然后将选中数据传到后台。最好有代码急用谢谢...
先在dialog中加载datagrid,在datagrid中选中几条数据,然后将选中数据传到后台。最好有代码
急用 谢谢 展开
急用 谢谢 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏50(财富值+成长值)
展开全部
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SelectGrid 弹出选择表格</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /><link href="../demo.css" rel="stylesheet" type="text/css" />
<script src="../../scripts/boot.js" type="text/javascript"></script>
</head>
<body>
<h1>SelectGrid 弹出选择表格</h1>
<input id="btnEdit1" class="mini-buttonedit" onbuttonclick="onButtonEdit" name="a" textName="b"/>
<script type="text/javascript">
mini.parse();
function onButtonEdit(e) {
var btnEdit = this;
mini.open({
url: bootPATH + "../demo/CommonLibs/SelectGridWindow.html",
title: "选择列表",
width: 650,
height: 380,
ondestroy: function (action) {
//if (action == "close") return false;
if (action == "ok") {
var iframe = this.getIFrameEl();
var data = iframe.contentWindow.GetData();
data = mini.clone(data); //必须
if (data) {
btnEdit.setValue(data.id);
btnEdit.setText(data.name);
}
}
}
});
}
</script>
<div class="description">
<h3>Description</h3>
</div>
</body>
</html>
<head>
<title>SelectGrid 弹出选择表格</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /><link href="../demo.css" rel="stylesheet" type="text/css" />
<script src="../../scripts/boot.js" type="text/javascript"></script>
</head>
<body>
<h1>SelectGrid 弹出选择表格</h1>
<input id="btnEdit1" class="mini-buttonedit" onbuttonclick="onButtonEdit" name="a" textName="b"/>
<script type="text/javascript">
mini.parse();
function onButtonEdit(e) {
var btnEdit = this;
mini.open({
url: bootPATH + "../demo/CommonLibs/SelectGridWindow.html",
title: "选择列表",
width: 650,
height: 380,
ondestroy: function (action) {
//if (action == "close") return false;
if (action == "ok") {
var iframe = this.getIFrameEl();
var data = iframe.contentWindow.GetData();
data = mini.clone(data); //必须
if (data) {
btnEdit.setValue(data.id);
btnEdit.setText(data.name);
}
}
}
});
}
</script>
<div class="description">
<h3>Description</h3>
</div>
</body>
</html>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2015-07-28
展开全部
public double getSalary(int month){
if(month==birth){
return 100;
}
return 0;
}
if(month==birth){
return 100;
}
return 0;
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询