• 弹出选择:表格


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <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: "选择列表",                

           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>

  • 相关阅读:
    axios、ajax、fetch三者的区别
    React与Vue的相同与不同点
    react-redux
    redux【react】
    react高阶组件
    基于WebGL无插件虚拟场景漫游关键技术(完整版)ThingJS
    基于WebGL的三维交通监控可视化技术应用(实践版) ThingJS
    地下管线监控系统中互联网WebGL三维可视化构建技术 ThingJS
    基于WebGL实现智慧校园的全景漫游技术研究 三维可视化
    基于WebGL的3D可视化告警系统关键技术解析 ThingJS
  • 原文地址:https://www.cnblogs.com/szqblog/p/3269470.html
Copyright © 2020-2023  润新知