wyq-study

弹出Dialog

  mini.open({
                url: "/SysUsernew/Edit?id=" + row.ID + "&Ieguid=" + GetGuid(),
                title: "编辑账户", width: 900, height: 600,
                showMaxButton: true,
                ondestroy: function (action) {
                    grid.reload();
                }
            });

获取选中行

    var row = grid.getSelected();

获取树

 //获取树
        var node = tree.getSelectedNode();

dialog完整格式

 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官网

http://www.miniui.com/docs/api/index.html 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2021-12-31
  • 2022-01-03
  • 2021-07-17
  • 2021-11-09
  • 2021-10-07
  • 2022-01-10
猜你喜欢
  • 2021-07-23
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案