弹出Dialoghtml
mini.open({ url: "/SysUsernew/Edit?id=" + row.ID + "&Ieguid=" + GetGuid(), title: "编辑帐户", width: 900, height: 600, showMaxButton: true, ondestroy: function (action) { grid.reload(); } });
获取选中行node
var row = grid.getSelected();
获取树api
//获取树 var node = tree.getSelectedNode();
dialog完整格式ui
mini.open({ url: "“”, title: "新增用户", width: 800, height: 500, onload: function () { var iframe = this.getIFrameEl(); //声明数据(树形所属部门) var data = node; //绑定数据 iframe.contentWindow.SetData(data); }, ondestroy: function (action) { grid.reload(); } });
详细参阅API官网this
http://www.miniui.com/docs/api/index.html url